aboutsummaryrefslogtreecommitdiff
path: root/src/common/module.h
diff options
context:
space:
mode:
authorMark Mentovai <mark@chromium.org>2019-12-02 13:45:36 -0500
committerMark Mentovai <mark@chromium.org>2019-12-02 18:47:46 +0000
commit47cd498384fdf7e54b0c8a6678c8af6a71635d0f (patch)
tree23ed608245b10d947d80e8a3f04574010bc91c45 /src/common/module.h
parentFix compilation of http_upload.cc with Windows gcc (diff)
downloadbreakpad-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 'src/common/module.h')
-rw-r--r--src/common/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/module.h b/src/common/module.h
index db8dabd5..7309cedd 100644
--- a/src/common/module.h
+++ b/src/common/module.h
@@ -106,7 +106,7 @@ class Module {
}
// The function's name.
- const string name;
+ string name;
// The start address and the address ranges covered by the function.
const Address address;