mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
* Use the proper size to output the range size.
* Rough in the compact encoding part. llvm-svn: 134119
This commit is contained in:
parent
5a7a3562e0
commit
3080b09d31
@ -667,7 +667,14 @@ bool FrameEmitterImpl::EmitCompactUnwind(MCStreamer &Streamer,
|
||||
// Range Length
|
||||
const MCExpr *Range = MakeStartMinusEndExpr(Streamer, *Frame.Begin,
|
||||
*Frame.End, 0);
|
||||
Streamer.EmitAbsValue(Range, Size);
|
||||
Streamer.EmitAbsValue(Range, 4);
|
||||
|
||||
// FIXME:
|
||||
// Compact Encoding
|
||||
uint32_t Encoding = 0;
|
||||
Size = getSizeForEncoding(Streamer, dwarf::DW_EH_PE_udata4);
|
||||
Streamer.EmitIntValue(Encoding, Size);
|
||||
|
||||
|
||||
// Personality Function
|
||||
Size = getSizeForEncoding(Streamer, Frame.PersonalityEncoding);
|
||||
|
Loading…
x
Reference in New Issue
Block a user