mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
DebugInfo: Clarify some more reasons v4 loc.dwo can't share much implementation with loclists.dwo
This commit is contained in:
parent
83067278fa
commit
0b12b20e46
@ -2539,6 +2539,8 @@ void DwarfDebug::emitDebugLocDWO() {
|
||||
Asm->emitInt8(dwarf::DW_LLE_startx_length);
|
||||
unsigned idx = AddrPool.getIndex(Entry.Begin);
|
||||
Asm->EmitULEB128(idx);
|
||||
// Also the pre-standard encoding is slightly different, emitting this as
|
||||
// an address-length entry here, but its a ULEB128 in DWARFv5 loclists.
|
||||
Asm->EmitLabelDifference(Entry.End, Entry.Begin, 4);
|
||||
emitDebugLocEntryLocation(Entry, List.CU);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user