summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-10-10 00:57:36 +0000
committerReid Kleckner <rnk@google.com>2017-10-10 00:57:36 +0000
commitab23dace567394515566c13d44dc85acc249651a (patch)
tree7075c6aff990774313bb1a1728c62a7b86c2bbbe /llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
parenta11b983e11057651613305da1d10a13fc77ffd13 (diff)
downloadbcm5719-llvm-ab23dace567394515566c13d44dc85acc249651a.tar.gz
bcm5719-llvm-ab23dace567394515566c13d44dc85acc249651a.zip
[MC] Suppress .Lcfi labels when emitting textual assembly
Summary: This suppresses the generation of .Lcfi labels in our textual assembler. It was annoying that this generated cascading .Lcfi labels: llc foo.ll -o - | llvm-mc | llvm-mc After three trips through MCAsmStreamer, we'd have three labels in the output when none are necessary. We should only bother creating the labels and frame data when making a real object file. This supercedes D38605, which moved the entire .seh_ implementation into MCObjectStreamer. This has the advantage that we do more checking when emitting textual assembly, as a minor efficiency cost. Outputting textual assembly is not performance critical, so this shouldn't matter. Reviewers: majnemer, MatzeB Subscribers: qcolombet, nemanjai, javed.absar, eraman, hiraditya, JDevlieghere, llvm-commits Differential Revision: https://reviews.llvm.org/D38638 llvm-svn: 315259
Diffstat (limited to 'llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud