[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-07 Thread Pavel Labath via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. labath marked an inline comment as done. Closed by commit rL348592: Introduce ObjectFileBreakpad (authored by labath, committed by ). Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-05 Thread Pavel Labath via Phabricator via lldb-commits
labath marked 3 inline comments as done. labath added inline comments. Comment at: source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h:74 + + bool IsStripped() override { return false; } + markmentovai wrote: > labath wrote: > > zturner wrote: > > > Is this

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-05 Thread Mark Mentovai via Phabricator via lldb-commits
markmentovai added inline comments. Comment at: source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h:74 + + bool IsStripped() override { return false; } + labath wrote: > zturner wrote: > > Is this always true for breakpad files? > Well.. the whole point of t

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-05 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: lit/Modules/Breakpad/lit.local.cfg:1 +config.suffixes = ['.test'] zturner wrote: > This shouldn't be necessary, the top-level `lit.cfg.py` already recognizes > `.test` extension. You only need a lit.local.cfg if you're

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-05 Thread Pavel Labath via Phabricator via lldb-commits
labath updated this revision to Diff 176781. labath marked 17 inline comments as done. labath added a comment. Updated according to review comments. Also added a couple of tests for invalid inputs. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55214/new/ https://reviews.llvm.org/D55214

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-04 Thread Zachary Turner via Phabricator via lldb-commits
zturner added inline comments. Comment at: lit/Modules/Breakpad/lit.local.cfg:1 +config.suffixes = ['.test'] This shouldn't be necessary, the top-level `lit.cfg.py` already recognizes `.test` extension. You only need a lit.local.cfg if you're changing something

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-04 Thread Leonard Mosescu via Phabricator via lldb-commits
lemo accepted this revision. lemo added a comment. Looks like a great start Comment at: source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp:53 + static_assert(sizeof(data) == 20, ""); + if (str.size() < 33 || str.size() > 40) +return UUID(); these m

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-04 Thread Pavel Labath via Phabricator via lldb-commits
labath added a reviewer: markmentovai. labath marked 3 inline comments as done. labath added inline comments. Comment at: source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp:66-84 + if (os == llvm::Triple::Win32) { +// In binary form, the module id should have 20 bytes

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-04 Thread Pavel Labath via Phabricator via lldb-commits
labath updated this revision to Diff 176615. labath added a comment. - implement the module_id/code_id logic suggested by Mark Mentovai - fix module_id endianness handling to make sure the UUID matches the one we get from the minidump files CHANGES SINCE LAST ACTION https://reviews.llvm.org/D

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-03 Thread Mark Mentovai via Phabricator via lldb-commits
markmentovai added a comment. Very excited to see this work beginning! Comment at: source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp:66-84 + if (os == llvm::Triple::Win32) { +// In binary form, the module id should have 20 bytes: 16 bytes for UUID, +// and 4 by

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-03 Thread Greg Clayton via Phabricator via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. This looks like a good start. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55214/new/ https://reviews.llvm.org/D55214 ___ lldb-comm

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-03 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp:66-84 + if (os == llvm::Triple::Win32) { +// In binary form, the module id should have 20 bytes: 16 bytes for UUID, +// and 4 bytes for the "age". However, in the textual

[Lldb-commits] [PATCH] D55214: Introduce ObjectFileBreakpad

2018-12-03 Thread Pavel Labath via Phabricator via lldb-commits
labath created this revision. labath added reviewers: clayborg, zturner, lemo, amccarth. Herald added subscribers: fedor.sergeev, mgorny. This patch adds the scaffolding necessary for lldb to recognise symbol files generated by breakpad. These (textual) files contain just enough information to be