mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
16 lines
316 B
LLVM
16 lines
316 B
LLVM
|
; RUN: llvm-as -o %T/1.bc %s
|
||
|
; RUN: llvm-as -o %T/2.bc %S/Inputs/list-symbols.ll
|
||
|
; RUN: llvm-lto -list-symbols-only %T/1.bc %T/2.bc | FileCheck %s
|
||
|
|
||
|
; CHECK-LABEL: 1.bc:
|
||
|
; CHECK-DAG: foo
|
||
|
; CHECK-DAG: glob
|
||
|
; CHECK-LABEL: 2.bc:
|
||
|
; CHECK-DAG: glob
|
||
|
; CHECK-DAG: bar
|
||
|
|
||
|
@glob = global i32 0
|
||
|
define void @foo() {
|
||
|
ret void
|
||
|
}
|