diff --git a/src/apps/debugger/dwarf/DebugInfoEntries.cpp b/src/apps/debugger/dwarf/DebugInfoEntries.cpp index 4c52889890..17154bb9b0 100644 --- a/src/apps/debugger/dwarf/DebugInfoEntries.cpp +++ b/src/apps/debugger/dwarf/DebugInfoEntries.cpp @@ -1,6 +1,6 @@ /* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. - * Copyright 2011-2013, Rene Gollent, rene@gollent.com. + * Copyright 2011-2014, Rene Gollent, rene@gollent.com. * Distributed under the terms of the MIT License. */ @@ -2573,6 +2573,21 @@ DIETypeUnit::Tag() const } +// #pragma mark - DIERValueReferenceType + + +DIERValueReferenceType::DIERValueReferenceType() +{ +} + + +uint16 +DIERValueReferenceType::Tag() const +{ + return DW_TAG_rvalue_reference_type; +} + + // #pragma mark - DIETemplateTemplateParameter @@ -2969,6 +2984,9 @@ DebugInfoEntryFactory::CreateDebugInfoEntry(uint16 tag, DebugInfoEntry*& _entry) case DW_TAG_type_unit: entry = new(std::nothrow) DIETypeUnit; break; + case DW_TAG_rvalue_reference_type: + entry = new(std::nothrow) DIERValueReferenceType; + break; case DW_TAG_GNU_template_template_param: entry = new(std::nothrow) DIETemplateTemplateParameter; break; diff --git a/src/apps/debugger/dwarf/DebugInfoEntries.h b/src/apps/debugger/dwarf/DebugInfoEntries.h index 66eb2dbbf2..88de47ac12 100644 --- a/src/apps/debugger/dwarf/DebugInfoEntries.h +++ b/src/apps/debugger/dwarf/DebugInfoEntries.h @@ -1,6 +1,6 @@ /* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. - * Copyright 2013, Rene Gollent, rene@gollent.com. + * Copyright 2013-2014, Rene Gollent, rene@gollent.com. * Distributed under the terms of the MIT License. */ #ifndef DEBUG_INFO_ENTRIES_H @@ -1633,6 +1633,14 @@ public: }; +class DIERValueReferenceType : public DIEReferenceType { +public: + DIERValueReferenceType(); + + virtual uint16 Tag() const; +}; + + class DIETemplateTemplateParameter : public DIEDeclaredBase { public: DIETemplateTemplateParameter();