Go to file
Reid Kleckner ab23dace56 [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
2017-10-10 00:57:36 +00:00
clang [Modules TS] Avoid computing the linkage of the enclosing DeclContext for a declaration in the global module. 2017-10-10 00:49:38 +00:00
clang-tools-extra Revert r315214 since diff -Z isn't portable, this is breaking: 2017-10-09 20:22:05 +00:00
compiler-rt [ubsan] Fix Asan internal alloc corruption in PR33221 test. 2017-10-09 22:52:13 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc Implement mem_fence on ptx 2017-10-09 19:43:04 +00:00
libcxx [libc++] Support Microsoft ABI without vcruntime headers 2017-10-09 19:25:17 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind [docs] Mention that SjLj works on any OS on the archs where supported by the compiler 2017-10-06 19:14:07 +00:00
lld Rename ignoreInterpSection -> needsInterpSection. 2017-10-08 03:52:15 +00:00
lldb Update ABISysV_arm64::RegisterIsVolatile to accept registers prefixed with r 2017-10-09 17:49:32 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [MC] Suppress .Lcfi labels when emitting textual assembly 2017-10-10 00:57:36 +00:00
openmp KMP_HW_SUBSET vs KMP_PLACE_THREADS rival envirables fix 2017-10-06 19:23:19 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Rename OptimizationDiagnosticInfo.h to OptimizationRemarkEmitter.h 2017-10-09 23:49:08 +00:00