[Lldb-commits] [PATCH] D61498: 01/06: Merge GetCompileUnit + GetCompileUnitContainingDIEOffset
Jan Kratochvil via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 3 06:15:52 PDT 2019
jankratochvil created this revision.
jankratochvil added reviewers: clayborg, labath, JDevlieghere.
jankratochvil added a project: LLDB.
Herald added a subscriber: abidh.
These two methods are very similar and various refactorizations need to modify both similar ways. Merge them as a template.
One could also just remove `GetCompileUnit` and make `GetCompileUnitContainingDIEOffset` to also accept offset of the CU itself (currently it accepts only DIE offsets after the CU header). But that would be less safe regarding some internal sanity checking.
The whole patchset available for testing as: `git clone -b debugtypes git://git.jankratochvil.net/lldb`
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4359 bytes
Desc: not available
More information about the lldb-commits