diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-23 15:34:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-23 15:34:32 +0000 |
commit | 886048276f679b4e7ccd48390fc2aa9b59226e0d (patch) | |
tree | c03401b238d2badfffce6e1acef078d5da4e08da /llvm/lib/MC/MCDwarf.cpp | |
parent | 0f427f5943d78e38efc461e3d3b1bccad1660f97 (diff) | |
download | bcm5719-llvm-886048276f679b4e7ccd48390fc2aa9b59226e0d.tar.gz bcm5719-llvm-886048276f679b4e7ccd48390fc2aa9b59226e0d.zip |
Allow using .cfi_startproc without a leading symbol.
This is possible now that we don't produce .eh symbols. This fixes pr19430.
llvm-svn: 211502
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r-- | llvm/lib/MC/MCDwarf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index 8f348528cbb..bddbf578d80 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -1297,7 +1297,7 @@ void FrameEmitterImpl::EmitCompactUnwind(MCStreamer &Streamer, unsigned FDEEncoding = MOFI->getFDEEncoding(); unsigned Size = getSizeForEncoding(Streamer, FDEEncoding); if (VerboseAsm) Streamer.AddComment("Range Start"); - Streamer.EmitSymbolValue(Frame.Function, Size); + Streamer.EmitSymbolValue(Frame.Begin, Size); // Range Length const MCExpr *Range = MakeStartMinusEndExpr(Streamer, *Frame.Begin, |