hanchenye-llvm-project/lldb
Pavel Labath 1cf23e1a37 Introduce SymbolFileBreakpad and use it to fill symtab
Summary:
This commit adds the glue code necessary to integrate the
SymbolFileBreakpad into the plugin system. Most of the methods are
stubbed out. The only method implemented method is AddSymbols, which
parses the PUBLIC "section" of the breakpad "object file", and fills out
the Module's symtab.

To enable testing this, I've made two additional changes:
- dump Symtab from the SymbolVendor class. The symtab was already being
  dumped as a part of the object file dump, but that happened before
  symbol vendor kicked in, so it did not reflect any symbols added
  there.
- add ability to explicitly specify the external symbol file in
  lldb-test (so that the object file could be linked with the breakpad
  symbol file). To make things simpler, I've changed lldb-test from
  consuming multiple inputs (and dumping their symbols) to having it
  just process a single file per invocation. This was not a problem
  since everyone was using it that way already.

Reviewers: clayborg, zturner, lemo, markmentovai, amccarth

Subscribers: mgorny, lldb-commits

Differential Revision: https://reviews.llvm.org/D56173

llvm-svn: 350924
2019-01-11 11:17:51 +00:00
..
cmake [CMake] In standalone builds, LLVM_BINARY_DIR should point to LLVM's binary directory 2019-01-09 16:25:37 +00:00
docs Add a description of the similar packets defined in the 2018-12-16 18:44:54 +00:00
examples Fix lldb's macosx/heap.py cstr command. 2018-12-17 18:21:51 +00:00
include/lldb Change SymbolFile::ParseTypes to ParseTypesForCompileUnit. 2019-01-10 20:57:50 +00:00
lit Introduce SymbolFileBreakpad and use it to fill symtab 2019-01-11 11:17:51 +00:00
lldb.xcodeproj Remove Range.* from Xcode project 2019-01-02 22:23:51 +00:00
lldb.xcworkspace
packages/Python/lldbsuite lldbtest.py: try to fix a runtime exception 2019-01-10 19:06:46 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [Python] Update PyString_FromString() to work for python 2 and 3. 2019-01-09 22:52:47 +00:00
source Introduce SymbolFileBreakpad and use it to fill symtab 2019-01-11 11:17:51 +00:00
test [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
third_party/Python/module [dotest] Consider unexpected passes as failures. 2018-12-20 20:44:23 +00:00
tools Introduce SymbolFileBreakpad and use it to fill symtab 2019-01-11 11:17:51 +00:00
unittests [Scalar] Simplify comparison operators and add coverage. 2019-01-04 19:23:52 +00:00
utils Fix typos. 2018-10-04 22:33:39 +00:00
www [CMake] Fix standalone builds: workaround the cxx target not getting imported yet (unlike clang target) 2019-01-09 16:25:31 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt [CMake] In standalone builds, LLVM_BINARY_DIR should point to LLVM's binary directory 2019-01-09 16:25:37 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py