diff options
author | Christopher Grant <cjgrant@chromium.org> | 2019-10-29 14:56:38 -0400 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2019-10-29 19:03:12 +0000 |
commit | 862c9f47efe9ea2ff80c4acc94f5595b487878b8 (patch) | |
tree | 8a1b7736a888b1a526858b8c70713b0f4a5bfeda /src/client/minidump_file_writer.h | |
parent | Add options to set OS and filename (diff) | |
download | breakpad-862c9f47efe9ea2ff80c4acc94f5595b487878b8.tar.xz |
linux, dump_syms: Filter module entries outside specified ranges
Partitioned libraries generated with lld and llvm-objcopy currently
contain a superset of debug information, beyond what applies to the
library itself. This is because objcopy cannot split up debug
information by partition - instead, it places a copy of all debug
information into each partition.
In lieu of potential future support for lld or objcopy becoming able to
split up debug information, let dump_syms do the next best thing:
- Find the address ranges of all PT_LOAD segments in the lib.
- Supply these to the Module being generated.
- Filter additions to the Module based on these ranges.
Bug: 990190
Change-Id: Ib5f279f42e3f6ea79eed9665efbcc23c3c5d25dc
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1884699
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Diffstat (limited to 'src/client/minidump_file_writer.h')
0 files changed, 0 insertions, 0 deletions