From a78fa73bcf986cf5912d665ecd9620535f480607 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 3 Apr 2021 10:56:09 -0400 Subject: [PATCH] Revert "[lld-link] Enable addrsig table in COFF lto" This reverts commit eabd55b1b2c5e322c3b36cb44348f178692890c8. Speculative, for crbug.com/1195545 --- lld/COFF/LTO.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lld/COFF/LTO.cpp b/lld/COFF/LTO.cpp index d117abf86f79..a47f66ec7cf0 100644 --- a/lld/COFF/LTO.cpp +++ b/lld/COFF/LTO.cpp @@ -62,7 +62,6 @@ static std::string getThinLTOOutputFile(StringRef path) { static lto::Config createConfig() { lto::Config c; c.Options = initTargetOptionsFromCodeGenFlags(); - c.Options.EmitAddrsig = true; // Always emit a section per function/datum with LTO. LLVM LTO should get most // of the benefit of linker GC, but there are still opportunities for ICF.