[PATCH] D135427: [LTO] Make local linkage GlobalValue in non-prevailing COMDAT available_externally

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 20:53:41 PST 2022


MaskRay updated this revision to Diff 474654.
MaskRay edited the summary of this revision.
MaskRay added a comment.

Switch to `GA.getAliaseeObject()` to work around a Windows vftable hack (see updated summary).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135427

Files:
  llvm/lib/LTO/LTO.cpp
  llvm/lib/Transforms/IPO/FunctionImport.cpp
  llvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll
  llvm/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll
  llvm/test/ThinLTO/X86/constructor-alias.ll
  llvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll
  llvm/test/ThinLTO/X86/windows-vftable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135427.474654.patch
Type: text/x-patch
Size: 14747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221111/58eaa029/attachment.bin>


More information about the llvm-commits mailing list