You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
17
external/llvm/test/Linker/funcimport2.ll
vendored
Normal file
17
external/llvm/test/Linker/funcimport2.ll
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
; RUN: opt -module-summary %s -o %t1.bc
|
||||
; RUN: opt -module-summary %p/Inputs/funcimport2.ll -o %t2.bc
|
||||
; RUN: llvm-lto -thinlto -o %t3 %t1.bc %t2.bc
|
||||
; RUN: llvm-link -import=bar:%t2.bc %t1.bc -summary-index=%t3.thinlto.bc -S | FileCheck %s
|
||||
|
||||
; CHECK: define available_externally hidden void @foo() {
|
||||
define available_externally hidden void @foo() {
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @bar()
|
||||
|
||||
define void @caller() {
|
||||
call void @bar()
|
||||
call void @foo()
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user