mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
e21839b377
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227564 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|