diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-01-27 17:20:25 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-01-27 17:20:25 +0000 |
commit | e035cf9ce4911d860f2ea972e6703052a9723aea (patch) | |
tree | 8f794328095152a49d5f405bbbdb86ab8cc86806 /llvm/lib/MC/MCAsmStreamer.cpp | |
parent | 1b0539c7f642d266536fb132bc5e7a49ec697cf9 (diff) | |
download | bcm5719-llvm-e035cf9ce4911d860f2ea972e6703052a9723aea.tar.gz bcm5719-llvm-e035cf9ce4911d860f2ea972e6703052a9723aea.zip |
MC: Add support for .cfi_startproc simple
This commit allows LLVM MC to process .cfi_startproc directives when
they are followed by an additional `simple' identifier. This signals to
elide the emission of target specific CFI instructions that would
normally occur initially.
This fixes PR16587.
Differential Revision: http://llvm-reviews.chandlerc.com/D2624
llvm-svn: 200227
Diffstat (limited to 'llvm/lib/MC/MCAsmStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmStreamer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index 12bcb68dd8a..d63716a815e 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/lib/MC/MCAsmStreamer.cpp @@ -925,6 +925,8 @@ void MCAsmStreamer::EmitCFIStartProcImpl(MCDwarfFrameInfo &Frame) { } OS << "\t.cfi_startproc"; + if (Frame.IsSimple) + OS << " simple"; EmitEOL(); } |