mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-05 11:19:41 +00:00
0a6665ead5
The issue was that linkAppendingVarProto does the full linking job, including deleting the old dst variable. The fix is just to call it and return early if we have a GV with appending linkage. original message: Refactor duplicated code in liking GlobalValues. There is quiet a bit of logic that is common to any GlobalValue but was duplicated for Functions, GlobalVariables and GlobalAliases. While at it, merge visibility even when comdats are used, fixing pr21415. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221098 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
2003-01-30-LinkerRename.ll | ||
2003-05-31-LinkerRename.ll | ||
alias.ll | ||
basiclink.a.ll | ||
basiclink.b.ll | ||
comdat2.ll | ||
comdat3.ll | ||
comdat4.ll | ||
comdat5.ll | ||
comdat8.ll | ||
comdat9.ll | ||
comdat.ll | ||
ConstantGlobals.ll | ||
constructor-comdat.ll | ||
ctors.ll | ||
datalayout-a.ll | ||
datalayout-b.ll | ||
linkage2.ll | ||
linkage.a.ll | ||
linkage.b.ll | ||
old_global_ctors.3.4.bc | ||
PR8300.a.ll | ||
PR8300.b.ll | ||
PR11464.a.ll | ||
PR11464.b.ll | ||
redefinition.ll | ||
targettriple-a.ll | ||
targettriple-b.ll | ||
type-unique-inheritance-a.ll | ||
type-unique-inheritance-b.ll | ||
type-unique-simple2-a.ll | ||
type-unique-simple2-b.ll | ||
visibility.ll |