llvm-6502/test/Linker/Inputs/comdat9.ll
Rafael Espindola 0549fc2448 Set comdats when lazily linking functions.
We were setting the comdat when functions were copied in the initial pass, but
not when they were linked only when we found out that they are needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215765 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-15 20:17:08 +00:00

6 lines
90 B
LLVM

$c = comdat any
@a = alias void ()* @f
define internal void @f() comdat $c {
ret void
}