[Lldb-commits] [PATCH] D55434: ObjectFileBreakpad: Implement sections
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 7 09:07:03 PST 2018
clayborg added a comment.
Another point of clarification is that sections exist in order to lookup addresses and resolve addresses to a section within a file. The section should be something that can easily be slid around when loaded by LLDB when we are debugging or symbolicating. So any sections we create should be able to be have the section load address set in the target with code like:
if (target.GetSectionLoadList().SetSectionLoadAddress(section_sp, section_sp->GetFileAddress() + slide))
All of the sections you added, except the FUNC section, wouldn't end up ever being loaded. All items besides FUNC might be better represented as symbols.
CHANGES SINCE LAST ACTION
More information about the lldb-commits