The debug_info_offset value may be relocated.
This is lld side change of D54375.
Paths
| Differential D54376
[ELF] Change GnuPub{Names,Types}Section from StringRef to LLDDWARFSection ClosedPublic Authored by MaskRay on Nov 10 2018, 1:19 AM.
Details
Summary The debug_info_offset value may be relocated. This is lld side change of D54375.
Diff Detail
Event TimelineThis revision was not accepted when it landed; it landed in state Needs Review.Nov 11 2018, 11:00 AM Closed by commit rL346616: [ELF] Change GnuPub{Names,Types}Section from StringRef to LLDDWARFSection (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 173565 lld/trunk/ELF/DWARF.h
lld/trunk/ELF/DWARF.cpp
lld/trunk/ELF/SyntheticSections.cpp
|
Is the object you get with the following line
the same object as you create at this line? If so, I'd pass the object you are creating with make_unique to readPubNamesAndTypes instead of passing a Dwarf object.