[PATCH] D42201: CodeGen: handle llvm.used properly for COFF

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 16:57:08 PST 2018


pcc added a comment.

This doesn't seem like it will do the right thing if the global has internal linkage. Do we care about that case? I guess we could handle it by emitting dummy ABSOLUTE relocations from a non-COMDAT section to the section or symbol that we want to preserve.


Repository:
  rL LLVM

https://reviews.llvm.org/D42201





More information about the llvm-commits mailing list