[Lldb-commits] [PATCH] D55434: ObjectFileBreakpad: Implement sections

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 7 13:53:36 PST 2018


clayborg added a comment.

So we do something like you describe with the DYSM files. The object file is "a.out" and it has a dSYM file "a.out.dSYM/Context/Resources/DWARF/a.out" and the dSYM file will share sections with the "a.out" object file. So if you plan on loading the breakpad file as a symbol file that just needs some sections that it can give to the debug info it will eventually create, these sections must be the same between the binary and the breakpad object file. So I would still recommend trying to make sections that make sense like a real object file. It is also nice to be able to live off of the breakpad file itself. In this case the ObjectFile for breakpad when it is stand alone should do as good of a job as possible.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55434/new/

https://reviews.llvm.org/D55434





More information about the lldb-commits mailing list