Displaying 2 results from an estimated 2 matches for "externalreloc".
2016 Feb 05
6
Reducing DWARF emitter memory consumption
...ion (e.g. abstract 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 re...
2016 Feb 06
2
Reducing DWARF emitter memory consumption
...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...