Dont emit Mapping symbols for sections that contain only data.
authorWeiming Zhao <weimingz@codeaurora.org>
Tue, 28 Mar 2017 05:40:36 +0000 (05:40 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Tue, 28 Mar 2017 05:40:36 +0000 (05:40 +0000)
commit320848458b5da8f5a41ca9aa51a05ffad36eda1a
tree44329826c4cbb3bfea2cecc4e316b31e7e0d7cdd
parent6a8518086a4a85b59cd05b6f3ce283660e3ffc52
Dont emit Mapping symbols for sections that contain only data.

Summary:
Dont emit mapping symbols for sections that contain only data.

Patched by Shankar Easwaran <shankare@codeaurora.org>

Reviewers: rengolin, peter.smith, weimingz, kparzysz, t.p.northover

Reviewed By: t.p.northover

Subscribers: t.p.northover, llvm-commits

Differential Revision: https://reviews.llvm.org/D30724

llvm-svn: 298901
18 files changed:
llvm/include/llvm/MC/MCELFStreamer.h
llvm/include/llvm/MC/MCObjectStreamer.h
llvm/lib/MC/MCELFStreamer.cpp
llvm/lib/MC/MCObjectStreamer.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
llvm/test/MC/ARM/Inputs/1.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/2.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/3.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/4.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/5.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/6.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/7.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/attr.s [new file with mode: 0644]
llvm/test/MC/ARM/Inputs/ident.s [new file with mode: 0644]
llvm/test/MC/ARM/data-in-code.ll
llvm/test/MC/ARM/mappingsymbols.s [new file with mode: 0644]
llvm/test/MC/ARM/multi-section-mapping.s
llvm/test/Object/ARM/nm-mapping-symbol.s