diff options
author | Mark Mentovai <mark@chromium.org> | 2019-12-02 13:45:36 -0500 |
---|---|---|
committer | Mark Mentovai <mark@chromium.org> | 2019-12-02 18:47:46 +0000 |
commit | 47cd498384fdf7e54b0c8a6678c8af6a71635d0f (patch) | |
tree | 23ed608245b10d947d80e8a3f04574010bc91c45 /android/sample_app/jni/test_breakpad.cpp | |
parent | Fix compilation of http_upload.cc with Windows gcc (diff) | |
download | breakpad-47cd498384fdf7e54b0c8a6678c8af6a71635d0f.tar.xz |
dump_syms: handle forward reference DWARF attributes
DW_AT_specification and DW_AT_abstract_origin attributes carry
references to other DIEs. Nothing prevents the DIEs referred to from
appearing later in .debug_info than the DIE containing the referring
attribute, but dump_syms incompletly implemented its handling of these
references, and was only able to resolve them when they were
back-references.
This will fix the chronic warnings produced by dump_syms of the form:
dump_syms: the DIE at offset <offset> has a {DW_AT_specification,
DW_AT_abstract_origin} attribute referring to the die at offset
<offset>, which either was not marked as {a declaration, an inline}, or
comes later in the file
Patch by Greg Clayton
Bug: breakpad:441
Change-Id: I98957d64a234c22afb6d0153f1bdc09e6a600b1d
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1946706
Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'android/sample_app/jni/test_breakpad.cpp')
0 files changed, 0 insertions, 0 deletions