diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-09-09 19:48:37 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-09-09 19:48:37 +0000 |
commit | da11df0c22f5d0ba2e2be3ae4a7076c806233db8 (patch) | |
tree | 5c6b6d725fd502b9d691276ef457b0f0aa67f9a8 /lib/MC/MCAsmStreamer.cpp | |
parent | 2c9905a1f3bcf22cc2f93332cc8411d11798ba07 (diff) | |
download | external_llvm-da11df0c22f5d0ba2e2be3ae4a7076c806233db8.zip external_llvm-da11df0c22f5d0ba2e2be3ae4a7076c806233db8.tar.gz external_llvm-da11df0c22f5d0ba2e2be3ae4a7076c806233db8.tar.bz2 |
Call generateCompactUnwindEncodings() right before we need to output the frame information.
There are more than one paths to where the frame information is emitted. Place
the call to generateCompactUnwindEncodings() into the method which outputs the
frame information, thus ensuring that the encoding is there for every path. This
involved threading the MCAsmBackend object through to this method.
<rdar://problem/13623355>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmStreamer.cpp')
-rw-r--r-- | lib/MC/MCAsmStreamer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp index 60d72ab..c612a23 100644 --- a/lib/MC/MCAsmStreamer.cpp +++ b/lib/MC/MCAsmStreamer.cpp @@ -1421,8 +1421,9 @@ void MCAsmStreamer::FinishImpl() { MCGenDwarfInfo::Emit(this, LineSectionSymbol); if (!UseCFI) - EmitFrames(false); + EmitFrames(AsmBackend.get(), false); } + MCStreamer *llvm::createAsmStreamer(MCContext &Context, formatted_raw_ostream &OS, bool isVerboseAsm, bool useLoc, |