mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 06:39:12 +00:00
c4d3801c20
Dont emit Mapping symbols for sections that contain only data. Summary: Dont emit mapping symbols for sections that contain only data. Reviewers: rengolin, weimingz, kparzysz, t.p.northover, peter.smith Reviewed By: t.p.northover Patched by Shankar Easwaran <shankare@codeaurora.org> Subscribers: alekseyshl, t.p.northover, llvm-commits Differential Revision: https://reviews.llvm.org/D30724 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299392 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
344 B
ArmAsm
13 lines
344 B
ArmAsm
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=armv7-pc-linux
|
|
// RUN: llvm-readobj -t %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
|