xref: /aosp_15_r20/external/llvm/test/Object/ARM/nm-mapping-symbol.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=armv7-pc-linux
2*9880d681SAndroid Build Coastguard Worker// RUN: llvm-readobj -t %t.o | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker// RUN: llvm-nm %t.o | FileCheck -allow-empty --check-prefix=NM %s
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker// Test that nm doesn't print the mapping symbols
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker// CHECK: Name: $d.0
8*9880d681SAndroid Build Coastguard Worker// NM-NOT: $d.0
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker        .section        .foobar,"",%progbits
11*9880d681SAndroid Build Coastguard Worker        .asciz  "foo"
12