Files
archived-llvm/test/Linker/Inputs/comdat14.ll
Rafael Espindola 8855924964 Don't copy information from aliasee to alias.
They are independent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254541 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-02 20:03:17 +00:00

13 lines
171 B
LLVM

$c = comdat any
@v2 = weak dllexport global i32 0, comdat ($c)
define i32* @f2() {
ret i32* @v2
}
@v3 = weak alias i32, i32* @v2
define i32* @f3() {
ret i32* @v3
}