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 | 550c76dbd68abc17cd32c859de3c24de94ad5cb3 (patch) | |
| tree | 02b7314fc003a8fbfea797105332710102239dd7 /llvm/lib/MC/MCAsmStreamer.cpp | |
| parent | 116868eaddccd6080ca0c564c6d7e44ebebcb3c9 (diff) | |
| download | bcm5719-llvm-550c76dbd68abc17cd32c859de3c24de94ad5cb3.tar.gz bcm5719-llvm-550c76dbd68abc17cd32c859de3c24de94ad5cb3.zip | |
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>
llvm-svn: 190335
Diffstat (limited to 'llvm/lib/MC/MCAsmStreamer.cpp')
| -rw-r--r-- | llvm/lib/MC/MCAsmStreamer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index 60d72abbcb8..c612a23f953 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/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, |

