llvm/test/Linker/Inputs/metadata-function.ll
Duncan P. N. Exon Smith 8efc190690 Linker: Copy over function metadata attachments
Update `lib/Linker` to handle `Function` metadata attachments.  The
attachments stick with the function body.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235786 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-24 22:07:31 +00:00

14 lines
153 B
LLVM

define weak void @foo() !weak !0 {
unreachable
}
define void @baz() !baz !0 {
unreachable
}
define void @b() !b !0 {
unreachable
}
!0 = !{!"b"}