llvm/test/Linker/Inputs/linkage.d.ll
Jonas Devlieghere 2ebca363ad [Linker] Provide callback for internalization
Differential Revision: https://reviews.llvm.org/D30738

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297649 91177308-0d34-0410-b5e6-96231b3b80d8
2017-03-13 18:08:11 +00:00

6 lines
161 B
LLVM

@Y = global i8 42
define i64 @foo() { ret i64 7 }
@llvm.used = appending global [2 x i8*] [i8* @Y, i8* bitcast (i64 ()* @foo to i8*)], section "llvm.metadata"