]> granicus.if.org Git - llvm/commit
Reland r298901 with modifications (reverted in r298932)
authorWeiming Zhao <weimingz@codeaurora.org>
Mon, 3 Apr 2017 21:50:04 +0000 (21:50 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Mon, 3 Apr 2017 21:50:04 +0000 (21:50 +0000)
commitc4d3801c208156364d3ce314927c6275b06fc9be
tree824fe44f7d0bd6692ed32cd8caf8705ad32d86a8
parent513e714dfdf84b2b164725e99c1d029ba74d6793
Reland r298901 with modifications (reverted in r298932)

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