OSDN Git Service

Add a plugin testcase for merging weak variables.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Aug 2014 15:39:14 +0000 (15:39 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Aug 2014 15:39:14 +0000 (15:39 +0000)
commitf531e9267168dcbd93655efd660958b928de5853
treec0d3b0be6c1bc6142eecefeebc3971f40e58b427
parent87d7e906ce25c717a81177861ca58bb0602a1101
Add a plugin testcase for merging weak variables.

I initially thought I could implement COMDATs with aliases by just
internalizing GVs instead of dropping them. This is a counter
example: Internalizing one of the @a would make @b and @c point
to different variables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215447 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/Inputs/weak.ll [new file with mode: 0644]
test/tools/gold/weak.ll [new file with mode: 0644]