Displaying 2 results from an estimated 2 matches for "getdwarfobj".
2020 Nov 09
1
Fragmented DWARF
...it.
const DWARFSection &InfoSection;
}
struct DWARFSection {
StringRef Data;
};
DWARFSection references data that are loaded by Object file.
DWARFSection is assumed to be a monolithic piece of data.
There is a code using these data assuming random access:
StringRef LineData = OrigDwarf.getDWARFObj().getLineSection().Data;
LineData.slice(*StmtList + 4, PrologueEnd)
...
StringRef FrameData = OrigDwarf.getDWARFObj().getFrameSection().Data;
FrameData.substr(EntryOffset, InitialLength + 4)
...
InputSec = Dwarf.getDWARFObj().getLocSection();
InputSec.Data.substr(Offset, Length);
...
DWARFDataExtra...
2020 Nov 05
3
Fragmented DWARF
Hi James,
On 05.11.2020 17:59, James Henderson wrote:
> (Resending with history trimmed to avoid it getting stuck in moderator
> queue).
>
> Hi Alexey,
>
> Just an update - I identified the cause of the "Generated debug info
> is broken" error message when I tried to build things locally: the
> `outStreamer` instance is initialised with the host Triple,