path: root/src/common/dwarf/dwarf2reader.h
diff options
authorSterling Augustine <saugustine@google.com>2020-10-02 07:44:24 -0700
committerSterling Augustine <saugustine@google.com>2020-10-02 17:55:10 +0000
commitf6669d6df42686aea832762f701359a3f9bdc762 (patch)
tree83c626021a72d4838ce3d570963cad0864f30f77 /src/common/dwarf/dwarf2reader.h
parentRefactor rangelist handling to prepare for dwarf5 .debug_rngslist (diff)
Revert "Refactor rangelist handling to prepare for dwarf5 .debug_rngslist"HEADmaster
This reverts commit 2b936b06c12657b684f6c7276d6ae5a24cb48ab5. After getting deep into the dwarf5 range reader, I realized that this should be done a somewhat different way. So reverting in favor or a better design, coming in a few minutes. Change-Id: Ie0b2846e70b3df1e637831e96ea69fe093f4e712 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2446011 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/common/dwarf/dwarf2reader.h')
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/dwarf/dwarf2reader.h b/src/common/dwarf/dwarf2reader.h
index aa9e270d..e405e3a7 100644
--- a/src/common/dwarf/dwarf2reader.h
+++ b/src/common/dwarf/dwarf2reader.h
@@ -243,14 +243,16 @@ class RangeListHandler {
class RangeListReader {
- RangeListReader(const uint8_t* buffer, uint64_t size, ByteReader* reader);
+ RangeListReader(const uint8_t* buffer, uint64_t size, ByteReader* reader,
+ RangeListHandler* handler);
- bool ReadRangeList(uint64_t offset, RangeListHandler* handler);
+ bool ReadRangeList(uint64_t offset);
const uint8_t* buffer_;
uint64_t size_;
ByteReader* reader_;
+ RangeListHandler* handler_;
// This class is the main interface between the reader and the