Store template parameters for DIEClassBaseType.
This commit is contained in:
@@ -477,7 +477,12 @@ DIEClassBaseType::AddChild(DebugInfoEntry* child)
|
|||||||
case DW_TAG_subprogram:
|
case DW_TAG_subprogram:
|
||||||
fMemberFunctions.Add(child);
|
fMemberFunctions.Add(child);
|
||||||
return B_OK;
|
return B_OK;
|
||||||
// TODO: Templates!
|
case DW_TAG_template_type_parameter:
|
||||||
|
fTemplateTypeParameters.Add(child);
|
||||||
|
return B_OK;
|
||||||
|
case DW_TAG_template_value_parameter:
|
||||||
|
fTemplateValueParameters.Add(child);
|
||||||
|
return B_OK;
|
||||||
// TODO: Variants!
|
// TODO: Variants!
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -353,6 +353,10 @@ public:
|
|||||||
|
|
||||||
const DebugInfoEntryList& BaseTypes() const
|
const DebugInfoEntryList& BaseTypes() const
|
||||||
{ return fBaseTypes; }
|
{ return fBaseTypes; }
|
||||||
|
const DebugInfoEntryList& TemplateTypeParameters() const
|
||||||
|
{ return fTemplateTypeParameters; }
|
||||||
|
const DebugInfoEntryList& TemplateValueParameters() const
|
||||||
|
{ return fTemplateValueParameters; }
|
||||||
|
|
||||||
virtual status_t AddChild(DebugInfoEntry* child);
|
virtual status_t AddChild(DebugInfoEntry* child);
|
||||||
|
|
||||||
@@ -362,6 +366,8 @@ protected:
|
|||||||
DebugInfoEntryList fAccessDeclarations;
|
DebugInfoEntryList fAccessDeclarations;
|
||||||
DebugInfoEntryList fMemberFunctions;
|
DebugInfoEntryList fMemberFunctions;
|
||||||
DebugInfoEntryList fInnerTypes;
|
DebugInfoEntryList fInnerTypes;
|
||||||
|
DebugInfoEntryList fTemplateTypeParameters;
|
||||||
|
DebugInfoEntryList fTemplateValueParameters;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user