[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab

2019-01-21 Thread Pavel Labath via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL351781: breakpad: Add FUNC records to the symtab (authored by labath, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D

[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab

2019-01-17 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. Much cleaner! Thanks CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56590/new/ https://reviews.llvm.org/D56590 ___ lldb-commits maili

[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab

2019-01-17 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp:26 namespace { class LineIterator { public: clayborg wrote: > Move this functionality into llvm::breakpad::Line? I haven't moved this part to the new file becau

[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab

2019-01-17 Thread Pavel Labath via Phabricator via lldb-commits
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 differ

[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab

2019-01-15 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added inline comments. Comment at: source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp:232 + }; + for (llvm::StringRef line: lines(*m_obj_file, Token::Func)) { +// Here we can get either FUNC records (starting with FUNC), or line records Sho

[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab

2019-01-15 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added inline comments. Comment at: source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp:29-48 +Token breakpad::toToken(llvm::StringRef str) { return llvm::StringSwitch(str) .Case("MODULE", Token::Module) .Case("INFO", Token::Info) .Case("FILE

[Lldb-commits] [PATCH] D56590: breakpad: Add FUNC records to the symtab

2019-01-11 Thread Pavel Labath via Phabricator via lldb-commits
labath created this revision. labath added reviewers: zturner, lemo, clayborg, markmentovai. Herald added a subscriber: aprantl. This patch extends SymbolFileBreakpad::AddSymbols to include the symbols from the FUNC records too. These symbols come from the debug info and have a size associated wit