mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
28e82b6565
-t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf. The confusing option should not be used since we aim for improving compatibility. Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test llvm-svn: 359661
13 lines
351 B
ArmAsm
13 lines
351 B
ArmAsm
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=armv7-pc-linux
|
|
// RUN: llvm-readobj --symbols %t.o | FileCheck %s
|
|
// RUN: llvm-nm %t.o | FileCheck -allow-empty --check-prefix=NM %s
|
|
|
|
// Test that nm doesn't print the mapping symbols
|
|
|
|
// CHECK: Name: $d.0
|
|
// NM-NOT: $d.0
|
|
|
|
.section .foobar,"",%progbits
|
|
.asciz "foo"
|
|
nop
|