Displaying 2 results from an estimated 2 matches for "extrelocs".
2016 Feb 05
6
Reducing DWARF emitter memory consumption
...origins
for inlined functions, special members for types), so here's a quick high-level
sketch of the data structures that I believe could support this design:
struct DIEBlock {
SmallVector<char, 1> Data;
std::vector<InternalReloc> IntRelocs;
std::vector<ExternalReloc> ExtRelocs;
DIEBlock *Next;
};
// This would be used to represent things like DW_AT_type references to types
struct InternalReloc {
size_t Offset; // offset within DIEBlock::Data
DIEBlock *Target; // the offset within Target is at Data[Offset...Offset+Size]
};
// This would be used to represent things...
2016 Feb 06
2
Reducing DWARF emitter memory consumption
...39;s a quick
> > high-level
> > sketch of the data structures that I believe could support this design:
> >
> > struct DIEBlock {
> > SmallVector<char, 1> Data;
> > std::vector<InternalReloc> IntRelocs;
> > std::vector<ExternalReloc> ExtRelocs;
> > DIEBlock *Next;
> > };
> >
> > // This would be used to represent things like DW_AT_type references to
> > types
> > struct InternalReloc {
> > size_t Offset; // offset within DIEBlock::Data
> > DIEBlock *Target; // the offset within Target...