summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Breakpad/src/common/dwarf/dwarf2diehandler.h')
-rw-r--r--3rdParty/Breakpad/src/common/dwarf/dwarf2diehandler.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/3rdParty/Breakpad/src/common/dwarf/dwarf2diehandler.h b/3rdParty/Breakpad/src/common/dwarf/dwarf2diehandler.h
index 12b8d3a..a1e589a 100644
--- a/3rdParty/Breakpad/src/common/dwarf/dwarf2diehandler.h
+++ b/3rdParty/Breakpad/src/common/dwarf/dwarf2diehandler.h
@@ -158,2 +158,4 @@
+#include <stdint.h>
+
#include <stack>
@@ -208,3 +210,3 @@ class DIEHandler {
enum DwarfForm form,
- const char* data,
+ const uint8_t *data,
uint64 len) { }
@@ -241,8 +243,6 @@ class DIEHandler {
// OFFSET is the offset of the child; TAG indicates what kind of DIE
- // it is; and ATTRS is the list of attributes the DIE will have, and
- // their forms (their values are not provided).
+ // it is.
//
// The default definition skips all children.
- virtual DIEHandler *FindChildHandler(uint64 offset, enum DwarfTag tag,
- const AttributeList &attrs) {
+ virtual DIEHandler *FindChildHandler(uint64 offset, enum DwarfTag tag) {
return NULL;
@@ -282,4 +282,3 @@ class RootDIEHandler: public DIEHandler {
// The default definition elects to visit the root DIE.
- virtual bool StartRootDIE(uint64 offset, enum DwarfTag tag,
- const AttributeList& attrs) { return true; }
+ virtual bool StartRootDIE(uint64 offset, enum DwarfTag tag) { return true; }
};
@@ -298,4 +297,3 @@ class DIEDispatcher: public Dwarf2Handler {
uint8 dwarf_version);
- bool StartDIE(uint64 offset, enum DwarfTag tag,
- const AttributeList &attrs);
+ bool StartDIE(uint64 offset, enum DwarfTag tag);
void ProcessAttributeUnsigned(uint64 offset,
@@ -315,3 +313,3 @@ class DIEDispatcher: public Dwarf2Handler {
enum DwarfForm form,
- const char* data,
+ const uint8_t *data,
uint64 len);