[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 17 04:39:45 PST 2019
labath updated this revision to Diff 182254.
labath marked 7 inline comments as done.
labath added a comment.
Thanks for the review. I've refactored the code to separate (and centralize) the
breakpad parsing from the part which does presents the information to lldb.
I've done this slightly differently than suggested (the new file is called
BreakpadRecords, as that's how breakpad calls them, and there as separate class
for each record type instead of just a function), but I believe it addresses the
root problem.
The main reason I created classes for everything is because I thought I'd make
the iterator class return those. I may still do that at some point but now it
did not seem worth it now because it makes it harder to report parsing errors,
and it did not make the call sites much cleaner.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56590/new/
https://reviews.llvm.org/D56590
Files:
lit/SymbolFile/Breakpad/Inputs/symtab.syms
lit/SymbolFile/Breakpad/symtab.test
source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h
source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
unittests/ObjectFile/Breakpad/BreakpadRecordsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56590.182254.patch
Type: text/x-patch
Size: 11532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190117/ff35dae2/attachment.bin>
More information about the lldb-commits
mailing list