diff options
author | Yunlian Jiang <yunlian@google.com> | 2016-05-04 11:09:44 -0700 |
---|---|---|
committer | Yunlian Jiang <yunlian@google.com> | 2016-05-04 11:09:44 -0700 |
commit | 764c21f7529df70a19f1e1cb33bb9ece28e0bf8f (patch) | |
tree | d71aaba9a7d47419c05ab7af184e117b5a115592 /Makefile.am | |
parent | macho: fix printf type mismatches (diff) | |
download | breakpad-764c21f7529df70a19f1e1cb33bb9ece28e0bf8f.tar.xz |
Add debug fission support.
This added debug fission support.
It tries to find the dwp file from the debug dir /usr/lib/debug/*/debug
and read symbols from them.
Most of this patch comes from
https://critique.corp.google.com/#review/52048295
and some fixes after that.
The elf_reader.cc comes from TOT google code. I just
removed some google dependency.
Current problems from this patch
1: Some type mismatch: from uint8_t * to char *.
2: Some hack to find the .dwp file. (replace .debug with .dwp)
BUG=chromium:604440
R=dehao@google.com, ivanpe@chromium.org
Review URL: https://codereview.chromium.org/1884283002 .
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 21c2bbaa..78256a7e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -564,6 +564,7 @@ src_tools_linux_dump_syms_dump_syms_SOURCES = \ src/common/dwarf/bytereader.cc \ src/common/dwarf/dwarf2diehandler.cc \ src/common/dwarf/dwarf2reader.cc \ + src/common/dwarf/elf_reader.cc \ src/common/linux/crc32.cc \ src/common/linux/dump_symbols.cc \ src/common/linux/elf_symbols_to_module.cc \ @@ -601,6 +602,7 @@ src_tools_mac_dump_syms_dump_syms_mac_SOURCES = \ src/common/dwarf/bytereader.cc \ src/common/dwarf/dwarf2diehandler.cc \ src/common/dwarf/dwarf2reader.cc \ + src/common/dwarf/elf_reader.cc \ src/common/mac/arch_utilities.cc \ src/common/mac/dump_syms.cc \ src/common/mac/file_id.cc \ @@ -636,6 +638,7 @@ src_common_dumper_unittest_SOURCES = \ src/common/dwarf/dwarf2diehandler.cc \ src/common/dwarf/dwarf2diehandler_unittest.cc \ src/common/dwarf/dwarf2reader.cc \ + src/common/dwarf/elf_reader.cc \ src/common/dwarf/dwarf2reader_cfi_unittest.cc \ src/common/dwarf/dwarf2reader_die_unittest.cc \ src/common/linux/crc32.cc \ @@ -678,6 +681,7 @@ src_common_mac_macho_reader_unittest_SOURCES = \ src/common/dwarf/cfi_assembler.cc \ src/common/dwarf/dwarf2diehandler.cc \ src/common/dwarf/dwarf2reader.cc \ + src/common/dwarf/elf_reader.cc \ src/common/mac/arch_utilities.cc \ src/common/mac/file_id.cc \ src/common/mac/macho_id.cc \ |