[PATCH] D99613: [lld-link] Enable addrsig table in COFF lto
Zequan Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 30 16:02:06 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGeabd55b1b2c5: [lld-link] Enable addrsig table in COFF lto (authored by zequanwu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99613/new/
https://reviews.llvm.org/D99613
Files:
lld/COFF/LTO.cpp
Index: lld/COFF/LTO.cpp
===================================================================
--- lld/COFF/LTO.cpp
+++ lld/COFF/LTO.cpp
@@ -62,6 +62,7 @@
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99613.334295.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/aca056e8/attachment.bin>
More information about the llvm-commits
mailing list