[lld] a78fa73 - Revert "[lld-link] Enable addrsig table in COFF lto"

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 3 07:56:46 PDT 2021


Author: Nico Weber
Date: 2021-04-03T10:56:33-04:00
New Revision: a78fa73bcf986cf5912d665ecd9620535f480607

URL: https://github.com/llvm/llvm-project/commit/a78fa73bcf986cf5912d665ecd9620535f480607
DIFF: https://github.com/llvm/llvm-project/commit/a78fa73bcf986cf5912d665ecd9620535f480607.diff

LOG: Revert "[lld-link] Enable addrsig table in COFF lto"

This reverts commit eabd55b1b2c5e322c3b36cb44348f178692890c8.
Speculative, for crbug.com/1195545

Added: 
    

Modified: 
    lld/COFF/LTO.cpp

Removed: 
    


################################################################################
diff  --git a/lld/COFF/LTO.cpp b/lld/COFF/LTO.cpp
index d117abf86f79f..a47f66ec7cf08 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.


        


More information about the llvm-commits mailing list