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
  https://reviews.llvm.org/D55434/new/

https://reviews.llvm.org/D55434



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to