[PATCH] D51047: MC: Teach the COFF object writer to write address-significance tables.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 16:54:33 PDT 2018


pcc added inline comments.


================
Comment at: llvm/lib/MC/WinCOFFObjectWriter.cpp:672
+    AddrsigSection = Asm.getContext().getCOFFSection(
+        ".llvm_addrsig", COFF::IMAGE_SCN_LNK_REMOVE,
+        SectionKind::getMetadata());
----------------
rnk wrote:
> Cool, so linking such objects with link.exe will drop these sections, right?
Yes, I verified that that's the case.


Repository:
  rL LLVM

https://reviews.llvm.org/D51047





More information about the llvm-commits mailing list