mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
138222e56f
to match llvm-size and other UNIX systems for their nm(1). Tweak test cases that used llvm-nm with standard input to add a "-" to indicate that and add a test case to check the default of a.out for llvm-nm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211529 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
400 B
LLVM
26 lines
400 B
LLVM
; RUN: llvm-as < %s > %t
|
|
; RUN: llvm-nm -without-aliases - < %t | FileCheck %s
|
|
; RUN: llvm-nm - < %t | FileCheck --check-prefix=WITH %s
|
|
|
|
; CHECK-NOT: T a0bar
|
|
; CHECK-NOT: T a0foo
|
|
; CHECK: T bar
|
|
; CHECK: T foo
|
|
|
|
; WITH: T a0bar
|
|
; WITH: T a0foo
|
|
; WITH: T bar
|
|
; WITH: T foo
|
|
|
|
@a0foo = alias void ()* @foo
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|
|
|
|
@a0bar = alias void ()* @bar
|
|
|
|
define void @bar() {
|
|
ret void
|
|
}
|