Add a few passing lto tests.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 26 Nov 2015 19:53:12 +0000 (19:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 26 Nov 2015 19:53:12 +0000 (19:53 +0000)
commit30e6c885948e1d75384053f5ec962347d525eaae
tree348e1c52a341bad716eba4383376fb03bf70c2d2
parent7df7870c485cf5af6382994923f8d7737df8d0bb
Add a few passing lto tests.

I found these while trying to get a prototype to bootstrap.

They cover things like
* Handling of non linker visible stuff (append, available_externally)
* Type merging
* Alias to dropped globals
* Dropping linkage when converting to a declaration.

These should hopefully be generally useful for anyone refactoring the
plugin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254174 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
test/tools/gold/X86/Inputs/ctors2.ll [new file with mode: 0644]
test/tools/gold/X86/Inputs/drop-linkage.ll [new file with mode: 0644]
test/tools/gold/X86/Inputs/type-merge.ll [new file with mode: 0644]
test/tools/gold/X86/Inputs/type-merge2.ll [new file with mode: 0644]
test/tools/gold/X86/alias2.ll [new file with mode: 0644]
test/tools/gold/X86/available-externally.ll [new file with mode: 0644]
test/tools/gold/X86/ctors.ll [new file with mode: 0644]
test/tools/gold/X86/ctors2.ll [new file with mode: 0644]
test/tools/gold/X86/drop-linkage.ll [new file with mode: 0644]
test/tools/gold/X86/type-merge.ll [new file with mode: 0644]
test/tools/gold/X86/type-merge2.ll [new file with mode: 0644]
test/tools/gold/X86/unnamed-addr.ll [new file with mode: 0644]