[Lldb-commits] [PATCH] D42955: Make Module::GetSectionList output consistent
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 6 04:50:46 PST 2018
labath created this revision.
labath added reviewers: clayborg, jingham, davide.
Herald added a subscriber: emaste.
The result of Module::GetSectionList depended on whether the symbol
vendor has been loaded (which would augment the section list with the
extra sections that have been found by the vendor).
Although this bit was documented in the function header, this makes a
quirky api, as other Module functions have no requirement to load the
vendor explicitly -- instead they will do it on demand. In practice,
what this meant is that the user would nearly always get the augmented
section list (because by the time he requested it, it's likely something
would have loaded the vendor already), *except* if all that he was doing
was loading a module and immediately dumping out the sections like
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9216 bytes
Desc: not available
More information about the lldb-commits