mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-01 20:24:40 +01:00
Dwarf5 fixes [1 of 5]: Add & use missing enums, fix typo.
First of 5 small patches to fix various breakpad issues found while testing dump_syms on DWARF v5 in ChromeOS. This patch adds some missing DWARF enums, and their uses, and fixes one small typo (was updating 'lineptr' instead of '*lineptr'). Change-Id: Ic674d5db29f29a69a3f6e370d0553eb4139c91de Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2634546 Reviewed-by: Sterling Augustine <saugustine@google.com>
This commit is contained in:
parent
f469cab97b
commit
f4115fad24
4 changed files with 11 additions and 4 deletions
|
|
@ -554,7 +554,7 @@ class CompilationUnit {
|
|||
if (attr == DW_AT_GNU_dwo_id) {
|
||||
dwo_id_ = data;
|
||||
}
|
||||
else if (attr == DW_AT_GNU_addr_base) {
|
||||
else if (attr == DW_AT_GNU_addr_base || attr == DW_AT_addr_base) {
|
||||
addr_base_ = data;
|
||||
}
|
||||
else if (attr == DW_AT_GNU_ranges_base || attr == DW_AT_rnglists_base) {
|
||||
|
|
@ -611,7 +611,7 @@ class CompilationUnit {
|
|||
enum DwarfAttribute attr,
|
||||
enum DwarfForm form,
|
||||
const char* data) {
|
||||
if (attr == DW_AT_GNU_dwo_name)
|
||||
if (attr == DW_AT_GNU_dwo_name || attr == DW_AT_dwo_name)
|
||||
dwo_name_ = data;
|
||||
handler_->ProcessAttributeString(offset, attr, form, data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue