You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
19
external/llvm/test/tools/llvm-split/alias.ll
vendored
Normal file
19
external/llvm/test/tools/llvm-split/alias.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
|
||||
|
||||
; CHECK0-DAG: @afoo = alias [2 x i8*], [2 x i8*]* @foo
|
||||
; CHECK1-DAG: @afoo = external global [2 x i8*]
|
||||
@afoo = alias [2 x i8*], [2 x i8*]* @foo
|
||||
|
||||
; CHECK0-DAG: declare void @abar()
|
||||
; CHECK1-DAG: @abar = alias void (), void ()* @bar
|
||||
@abar = alias void (), void ()* @bar
|
||||
|
||||
@foo = global [2 x i8*] [i8* bitcast (void ()* @bar to i8*), i8* bitcast (void ()* @abar to i8*)]
|
||||
|
||||
define void @bar() {
|
||||
store [2 x i8*] zeroinitializer, [2 x i8*]* @foo
|
||||
store [2 x i8*] zeroinitializer, [2 x i8*]* @afoo
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user