[PATCH] D44543: [AsmPrinter] Emit .weak directive for weak linkage on COFF

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 05:23:15 PDT 2020


mstorsjo updated this revision to Diff 252803.
mstorsjo edited the summary of this revision.
mstorsjo added a comment.

Changed hasLinkOnceDirective into avoidWeakIfComdat and adjusted the condition.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D44543/new/

https://reviews.llvm.org/D44543

Files:
  llvm/include/llvm/MC/MCAsmInfo.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/MC/MCAsmInfoCOFF.cpp
  llvm/test/CodeGen/X86/coff-linkonce.ll
  llvm/test/CodeGen/X86/coff-weak.ll
  llvm/test/CodeGen/X86/dllexport-x86_64.ll
  llvm/test/CodeGen/X86/dllexport.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44543.252803.patch
Type: text/x-patch
Size: 6101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/670f6237/attachment.bin>


More information about the llvm-commits mailing list