diff options
author | Pavel Labath <pavel@labath.sk> | 2019-01-18 10:37:04 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-01-18 10:37:04 +0000 |
commit | 2cf5486ce4539d868ec84f1047aed8cd89739661 (patch) | |
tree | 02837a3b37ed8b52172c3c3e23daff8a50930b16 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 9c66a47831a586ed36a138453a3234797f3a0127 (diff) | |
download | bcm5719-llvm-2cf5486ce4539d868ec84f1047aed8cd89739661.tar.gz bcm5719-llvm-2cf5486ce4539d868ec84f1047aed8cd89739661.zip |
Breakpad: Extract parsing code into a separate file
Summary:
This centralizes parsing of breakpad records, which was previously
spread out over ObjectFileBreakpad and SymbolFileBreakpad.
For each record type X there is a separate breakpad::XRecord class, and
an associated parse function. The classes just store the information in
the breakpad records in a more accessible form. It is up to the users to
determine what to do with that data.
This separation also made it possible to write some targeted tests for
the parsing code, which was previously unaccessible, so I write a couple
of those too.
Reviewers: clayborg, lemo, zturner
Reviewed By: clayborg
Subscribers: mgorny, fedor.sergeev, lldb-commits
Differential Revision: https://reviews.llvm.org/D56844
llvm-svn: 351541
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions