From nobody Wed Dec 22 10:05:29 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 087A01904E15; Wed, 22 Dec 2021 10:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JJpqJ3lyWz4YH6; Wed, 22 Dec 2021 10:05:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A944F1B455; Wed, 22 Dec 2021 10:05:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BMA5T6i091422; Wed, 22 Dec 2021 10:05:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BMA5T1o091421; Wed, 22 Dec 2021 10:05:29 GMT (envelope-from git) Date: Wed, 22 Dec 2021 10:05:29 GMT Message-Id: <202112221005.1BMA5T1o091421@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 598207e3fa27 - stable/12 - Reapply r311165: List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 598207e3fa27fcab41c3613ba27fca078c238be8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640167533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/J5bwAUQuy5PjIbx8Cf35gSdHddVDmd1ozNe4gNzSM4=; b=uPzg/psbiGycWWvUnNVl4d/FXSepnIHWfwjwAP8uj7QdhNzWBOur2BRvI4Ux28RXZ16T6k V33y/JYdiBNIo7SvPel6bt+N9CVtWReDEgL7VrTmRLo56vFC1WzGf6rzl8TMCaaOZQd9M7 5jv/YqbNkiGwcnghsM5dw/iS/+rgVaestYuw9HfAkCP5iZIdGyHII0jvasqHToFN6i9CBB pNvwRGBr6aWJiGAN3+BbpFtS50t1BkEz0MRVt49y+ChkpC1tyYFYaTgb/wKAX1X8AjJDIq 3/LyZtkJwUQ3LsPSXUppivHzwsgt50pYfPXH39fJzlu8a7rIUtJIw9ZFgT7XRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640167533; a=rsa-sha256; cv=none; b=uQ3MPOmVd25RgpF2CI+g/1OTcclvq3+OWxFwvUvxFBpUMKKKMZyPZ+PRmqfR7I2XmbfS7t 2zGfD/a6ImHLfnSNOVzUZvwRUaZrJMyR9ID9MoObIIHDF8oEELIMyY0N2f4ttt8mWfDAGN UL9SqFyTLLguIjnUBBgLF6yldh6befqK1+8I8qq3vGVusqXsc1enmxl3DWrP2hhVABxxKM 1ICOhvxq57KpAy42pZ9Pds2GNGLKY4jW3kc+W25sEfs+z3w3mLlWtOTS+lTFt3EXlZQ4eA nQE2H7FaQTiYxai2wOPIh9+ML3wuoOKYF89R98D4V29mkt7jMK/TM7q0qhsTIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=598207e3fa27fcab41c3613ba27fca078c238be8 commit 598207e3fa27fcab41c3613ba27fca078c238be8 Author: Dimitry Andric AuthorDate: 2020-08-02 18:18:16 +0000 Commit: Dimitry Andric CommitDate: 2021-12-22 09:58:12 +0000 Reapply r311165: Disable PDB support in LLVMSymbolizer for now, to avoid llvm-objdump pulling in all the PDB handling code. (cherry picked from commit cfe333b850cee184f0658cdf4e3001b537d8f120) --- contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp b/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp index 1d767a2b0d88..051195934aaf 100644 --- a/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp +++ b/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp @@ -553,6 +553,7 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) { StringRef PDBFileName; auto EC = CoffObject->getDebugPDBInfo(DebugInfo, PDBFileName); if (!EC && DebugInfo != nullptr && !PDBFileName.empty()) { +#if 0 using namespace pdb; std::unique_ptr Session; PDB_ReaderType ReaderType = Opts.UseNativePDBReader @@ -565,6 +566,11 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) { return createFileError(PDBFileName, std::move(Err)); } Context.reset(new PDBContext(*CoffObject, std::move(Session))); +#else + return make_error( + "PDB support not compiled in", + std::make_error_code(std::errc::not_supported)); +#endif } } if (!Context)