llvm-for-llvmta/test/Object/ARM/nm-mapping-symbol.s

13 lines
351 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// 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