mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-10 21:56:27 +00: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:
committed by
Sterling Augustine
parent
f469cab97b
commit
f4115fad24
@@ -1333,7 +1333,8 @@ bool DwarfCUToModule::StartCompilationUnit(uint64_t offset,
|
||||
bool DwarfCUToModule::StartRootDIE(uint64_t offset, enum DwarfTag tag) {
|
||||
// We don't deal with partial compilation units (the only other tag
|
||||
// likely to be used for root DIE).
|
||||
return tag == dwarf2reader::DW_TAG_compile_unit;
|
||||
return (tag == dwarf2reader::DW_TAG_compile_unit
|
||||
|| tag == dwarf2reader::DW_TAG_skeleton_unit);
|
||||
}
|
||||
|
||||
} // namespace google_breakpad
|
||||
|
||||
Reference in New Issue
Block a user