From fea1913f297dda42d9f0901bb89f50c49608a5a4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 9 Mar 2020 23:59:12 +0000 Subject: Revert "Add dwarf5 compilation-unit header handling." This reverts commit dbd454dbe47e584571388fc3533193416bdce67f. Reason for revert: The parent CL is causing breakage on CrOS due to unhandled enums. Before we can revert that, we need to revert this. Bug: google-breakpad:812 Change-Id: I7c2446f3cd8ed9f6411e90dbdd2434bc463b2f6c Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2095798 Reviewed-by: Mark Mentovai --- src/common/dwarf/dwarf2reader.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/common/dwarf/dwarf2reader.h') diff --git a/src/common/dwarf/dwarf2reader.h b/src/common/dwarf/dwarf2reader.h index 6f1b1a4d..902d9ef1 100644 --- a/src/common/dwarf/dwarf2reader.h +++ b/src/common/dwarf/dwarf2reader.h @@ -410,21 +410,6 @@ class CompilationUnit { // Reads the DWARF2/3 abbreviations for this compilation unit void ReadAbbrevs(); - // Read the abbreviation offset for this compilation unit - int ReadAbbrevOffset(const uint8_t *headerptr); - - // Read the address size for this compilation unit - int ReadAddressSize(const uint8_t *headerptr); - - // Read the DWO id from a split or skeleton compilation unit header - int ReadDwoId(const uint8_t *headerptr); - - // Read the type signature from a type or split type compilation unit header - int ReadTypeSignature(const uint8_t *headerptr); - - // Read the DWO id from a split or skeleton compilation unit header - int ReadTypeOffset(const uint8_t *headerptr); - // Processes a single DIE for this compilation unit and return a new // pointer just past the end of it const uint8_t *ProcessDIE(uint64 dieoffset, @@ -579,12 +564,6 @@ class CompilationUnit { // The value of the DW_AT_GNU_dwo_id attribute, if any. uint64 dwo_id_; - // The value of the DW_AT_GNU_type_signature attribute, if any. - uint64 type_signature_; - - // The value of the DW_AT_GNU_type_offset attribute, if any. - size_t type_offset_; - // The value of the DW_AT_GNU_dwo_name attribute, if any. const char* dwo_name_; -- cgit v1.2.1