llvm/test/Linker/Inputs/linkage.c.ll
Artem Belevich 20264d6c67 New bitcode linker flags:
-only-needed -- link in only symbols needed by destination module
-internalize -- internalize linked symbols

Differential Revision: http://reviews.llvm.org/D12459

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246561 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-01 17:55:55 +00:00

5 lines
103 B
LLVM

@X = global i32 5
@U = global i32 6
define i32 @foo() { ret i32 7 }
define i32 @unused() { ret i32 8 }