mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
83194dc5b2
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 llvm-svn: 299392
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
|