You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
19
external/llvm/test/tools/llvm-split/comdat.ll
vendored
Normal file
19
external/llvm/test/tools/llvm-split/comdat.ll
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
; RUN: llvm-split -o %t %s
|
||||
; RUN: llvm-dis -o - %t0 | FileCheck --check-prefix=CHECK0 %s
|
||||
; RUN: llvm-dis -o - %t1 | FileCheck --check-prefix=CHECK1 %s
|
||||
|
||||
$foo = comdat any
|
||||
|
||||
; CHECK0: define void @foo()
|
||||
; CHECK1: declare void @foo()
|
||||
define void @foo() comdat {
|
||||
call void @bar()
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK0: define void @bar()
|
||||
; CHECK1: declare void @bar()
|
||||
define void @bar() comdat($foo) {
|
||||
call void @foo()
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user