Debugger: Add handling for rvalue reference type entries.
Fixes part of #10659.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Copyright 2011-2013, Rene Gollent, [email protected].
|
||||
* Copyright 2011-2014, Rene Gollent, [email protected].
|
||||
* 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;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Copyright 2013, Rene Gollent, [email protected].
|
||||
* Copyright 2013-2014, Rene Gollent, [email protected].
|
||||
* 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();
|
||||
|
||||
Reference in New Issue
Block a user