Merge "Reduce nested objects in JSON dump"

This commit is contained in:
Hsin-Yi Chen
2018-09-19 06:23:30 +00:00
committed by Gerrit Code Review
8 changed files with 1333 additions and 1681 deletions

View File

@@ -36,7 +36,7 @@ class JsonObject : public Json::Value {
class IRToJsonConverter { class IRToJsonConverter {
private: private:
static void AddTemplateInfo(JsonObject &type_decl, static void AddTemplateInfo(JsonObject &type_decl,
const abi_util::TemplatedArtifactIR *template_ir); const TemplatedArtifactIR *template_ir);
// BasicNamedAndTypedDecl // BasicNamedAndTypedDecl
static void AddTypeInfo(JsonObject &type_decl, const TypeIR *type_ir); static void AddTypeInfo(JsonObject &type_decl, const TypeIR *type_ir);
@@ -50,7 +50,7 @@ class IRToJsonConverter {
static void AddVTableLayout(JsonObject &record_type, static void AddVTableLayout(JsonObject &record_type,
const RecordTypeIR *record_ir); const RecordTypeIR *record_ir);
static void AddTagTypeInfo(JsonObject &tag_type, static void AddTagTypeInfo(JsonObject &type_decl,
const TagTypeIR *tag_type_ir); const TagTypeIR *tag_type_ir);
static void AddEnumFields(JsonObject &enum_type, const EnumTypeIR *enum_ir); static void AddEnumFields(JsonObject &enum_type, const EnumTypeIR *enum_ir);

View File

@@ -93,26 +93,23 @@ ElfSymbolBindingIRToJson(ElfSymbolIR::ElfSymbolBinding binding) {
} }
void IRToJsonConverter::AddTemplateInfo( void IRToJsonConverter::AddTemplateInfo(
JsonObject &type_decl, const abi_util::TemplatedArtifactIR *template_ir) { JsonObject &type_decl, const TemplatedArtifactIR *template_ir) {
Json::Value &elements = type_decl["template_info"]; Json::Value &args = type_decl["template_args"];
elements = JsonArray(); args = JsonArray();
for (auto &&template_element_ir : template_ir->GetTemplateElements()) { for (auto &&template_element_ir : template_ir->GetTemplateElements()) {
Json::Value &element = elements.append(JsonObject()); args.append(template_element_ir.GetReferencedType());
element["referenced_type"] = template_element_ir.GetReferencedType();
} }
} }
void IRToJsonConverter::AddTypeInfo(JsonObject &type_decl, void IRToJsonConverter::AddTypeInfo(JsonObject &type_decl,
const TypeIR *type_ir) { const TypeIR *type_ir) {
Json::Value &type_info = type_decl["type_info"]; type_decl["linker_set_key"] = type_ir->GetLinkerSetKey();
type_info = JsonObject(); type_decl["source_file"] = type_ir->GetSourceFile();
type_info["linker_set_key"] = type_ir->GetLinkerSetKey(); type_decl["name"] = type_ir->GetName();
type_info["source_file"] = type_ir->GetSourceFile(); type_decl["size"] = Json::UInt64(type_ir->GetSize());
type_info["name"] = type_ir->GetName(); type_decl["alignment"] = type_ir->GetAlignment();
type_info["size"] = Json::UInt64(type_ir->GetSize()); type_decl["referenced_type"] = type_ir->GetReferencedType();
type_info["alignment"] = type_ir->GetAlignment(); type_decl["self_type"] = type_ir->GetSelfType();
type_info["referenced_type"] = type_ir->GetReferencedType();
type_info["self_type"] = type_ir->GetSelfType();
} }
static JsonObject ConvertRecordFieldIR(const RecordFieldIR *record_field_ir) { static JsonObject ConvertRecordFieldIR(const RecordFieldIR *record_field_ir) {
@@ -152,33 +149,30 @@ void IRToJsonConverter::AddBaseSpecifiers(JsonObject &record_type,
} }
static JsonObject static JsonObject
ConvertVTableLayoutIR(const VTableLayoutIR &vtable_layout_ir) { ConvertVTableComponentIR(const VTableComponentIR &vtable_component_ir) {
JsonObject vtable_layout; JsonObject vtable_component;
Json::Value &vtable_components = vtable_layout["vtable_components"];
vtable_components = JsonArray();
for (auto &&vtable_component_ir : vtable_layout_ir.GetVTableComponents()) {
Json::Value &vtable_component = vtable_components.append(JsonObject());
vtable_component["kind"] = vtable_component["kind"] =
VTableComponentKindIRToJson(vtable_component_ir.GetKind()); VTableComponentKindIRToJson(vtable_component_ir.GetKind());
vtable_component["component_value"] = vtable_component["component_value"] =
Json::Int64(vtable_component_ir.GetValue()); Json::Int64(vtable_component_ir.GetValue());
vtable_component["mangled_component_name"] = vtable_component_ir.GetName(); vtable_component["mangled_component_name"] = vtable_component_ir.GetName();
vtable_component["is_pure"] = vtable_component_ir.GetIsPure(); vtable_component["is_pure"] = vtable_component_ir.GetIsPure();
} return vtable_component;
return vtable_layout;
} }
void IRToJsonConverter::AddVTableLayout(JsonObject &record_type, void IRToJsonConverter::AddVTableLayout(JsonObject &record_type,
const RecordTypeIR *record_ir) { const RecordTypeIR *record_ir) {
const VTableLayoutIR &vtable_layout_ir = record_ir->GetVTableLayout(); Json::Value &vtable_components = record_type["vtable_components"];
record_type["vtable_layout"] = ConvertVTableLayoutIR(vtable_layout_ir); vtable_components = JsonArray();
for (auto &&vtable_component_ir :
record_ir->GetVTableLayout().GetVTableComponents()) {
vtable_components.append(ConvertVTableComponentIR(vtable_component_ir));
}
} }
void IRToJsonConverter::AddTagTypeInfo(JsonObject &record_type, void IRToJsonConverter::AddTagTypeInfo(JsonObject &type_decl,
const abi_util::TagTypeIR *tag_type_ir) { const TagTypeIR *tag_type_ir) {
Json::Value &tag_type = record_type["tag_info"]; type_decl["unique_id"] = tag_type_ir->GetUniqueId();
tag_type = JsonObject();
tag_type["unique_id"] = tag_type_ir->GetUniqueId();
} }
JsonObject IRToJsonConverter::ConvertRecordTypeIR(const RecordTypeIR *recordp) { JsonObject IRToJsonConverter::ConvertRecordTypeIR(const RecordTypeIR *recordp) {

View File

@@ -3,53 +3,42 @@
"builtin_types" : "builtin_types" :
[ [
{ {
"alignment" : 4,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "float", "linker_set_key" : "float",
"name" : "float", "name" : "float",
"referenced_type" : "type-3", "referenced_type" : "type-3",
"self_type" : "type-3", "self_type" : "type-3",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "int", "linker_set_key" : "int",
"name" : "int", "name" : "int",
"referenced_type" : "type-2", "referenced_type" : "type-2",
"self_type" : "type-2", "self_type" : "type-2",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : true, "is_unsigned" : true,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "unsigned int", "linker_set_key" : "unsigned int",
"name" : "unsigned int", "name" : "unsigned int",
"referenced_type" : "type-6", "referenced_type" : "type-6",
"self_type" : "type-6", "self_type" : "type-6",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 0,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 0,
"linker_set_key" : "void", "linker_set_key" : "void",
"name" : "void", "name" : "void",
"referenced_type" : "type-10", "referenced_type" : "type-10",
@@ -57,7 +46,6 @@
"size" : 0, "size" : 0,
"source_file" : "" "source_file" : ""
} }
}
], ],
"elf_functions" : "elf_functions" :
[ [
@@ -117,6 +105,7 @@
[ [
{ {
"access" : "private", "access" : "private",
"alignment" : 4,
"enum_fields" : "enum_fields" :
[ [
{ {
@@ -136,21 +125,14 @@
"name" : "SuperSpeaker::Volume::Lower" "name" : "SuperSpeaker::Volume::Lower"
} }
], ],
"tag_info" :
{
"unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
},
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker::Volume", "linker_set_key" : "SuperSpeaker::Volume",
"name" : "SuperSpeaker::Volume", "name" : "SuperSpeaker::Volume",
"referenced_type" : "type-8", "referenced_type" : "type-8",
"self_type" : "type-8", "self_type" : "type-8",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "underlying_type" : "type-6",
"underlying_type" : "type-6" "unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
} }
], ],
"function_types" : [], "function_types" : [],
@@ -170,7 +152,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -186,7 +168,7 @@
], ],
"return_type" : "type-9", "return_type" : "type-9",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -202,7 +184,7 @@
], ],
"return_type" : "type-8", "return_type" : "type-8",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -218,7 +200,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -234,7 +216,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -255,7 +237,7 @@
], ],
"return_type" : "type-12", "return_type" : "type-12",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -271,7 +253,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -287,15 +269,13 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
} }
], ],
"global_vars" : [], "global_vars" : [],
"lvalue_reference_types" : [], "lvalue_reference_types" : [],
"pointer_types" : "pointer_types" :
[ [
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "SuperSpeaker *", "linker_set_key" : "SuperSpeaker *",
@@ -304,10 +284,7 @@
"self_type" : "type-9", "self_type" : "type-9",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "HighVolumeSpeaker *", "linker_set_key" : "HighVolumeSpeaker *",
@@ -316,10 +293,7 @@
"self_type" : "type-12", "self_type" : "type-12",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "float *", "linker_set_key" : "float *",
@@ -328,10 +302,7 @@
"self_type" : "type-7", "self_type" : "type-7",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "LowVolumeSpeaker *", "linker_set_key" : "LowVolumeSpeaker *",
@@ -341,13 +312,13 @@
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
} }
}
], ],
"qualified_types" : [], "qualified_types" : [],
"record_types" : "record_types" :
[ [
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : [], "base_specifiers" : [],
"fields" : "fields" :
[ [
@@ -359,24 +330,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS12SuperSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker", "linker_set_key" : "SuperSpeaker",
"name" : "SuperSpeaker", "name" : "SuperSpeaker",
"record_kind" : "class",
"referenced_type" : "type-1", "referenced_type" : "type-1",
"self_type" : "type-1", "self_type" : "type-1",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS12SuperSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -416,10 +378,10 @@
"mangled_component_name" : "_ZN12SuperSpeakerD0Ev" "mangled_component_name" : "_ZN12SuperSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -430,24 +392,15 @@
], ],
"fields" : [], "fields" : [],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS17HighVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "HighVolumeSpeaker", "linker_set_key" : "HighVolumeSpeaker",
"name" : "HighVolumeSpeaker", "name" : "HighVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-11", "referenced_type" : "type-11",
"self_type" : "type-11", "self_type" : "type-11",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS17HighVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -487,10 +440,10 @@
"mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -515,24 +468,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS16LowVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "LowVolumeSpeaker", "linker_set_key" : "LowVolumeSpeaker",
"name" : "LowVolumeSpeaker", "name" : "LowVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-5", "referenced_type" : "type-5",
"self_type" : "type-5", "self_type" : "type-5",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS16LowVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -573,7 +517,6 @@
} }
] ]
} }
}
], ],
"rvalue_reference_types" : [] "rvalue_reference_types" : []
} }

View File

@@ -3,53 +3,42 @@
"builtin_types" : "builtin_types" :
[ [
{ {
"alignment" : 4,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "float", "linker_set_key" : "float",
"name" : "float", "name" : "float",
"referenced_type" : "type-3", "referenced_type" : "type-3",
"self_type" : "type-3", "self_type" : "type-3",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "int", "linker_set_key" : "int",
"name" : "int", "name" : "int",
"referenced_type" : "type-2", "referenced_type" : "type-2",
"self_type" : "type-2", "self_type" : "type-2",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : true, "is_unsigned" : true,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "unsigned int", "linker_set_key" : "unsigned int",
"name" : "unsigned int", "name" : "unsigned int",
"referenced_type" : "type-6", "referenced_type" : "type-6",
"self_type" : "type-6", "self_type" : "type-6",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 0,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 0,
"linker_set_key" : "void", "linker_set_key" : "void",
"name" : "void", "name" : "void",
"referenced_type" : "type-10", "referenced_type" : "type-10",
@@ -57,7 +46,6 @@
"size" : 0, "size" : 0,
"source_file" : "" "source_file" : ""
} }
}
], ],
"elf_functions" : "elf_functions" :
[ [
@@ -117,6 +105,7 @@
[ [
{ {
"access" : "private", "access" : "private",
"alignment" : 4,
"enum_fields" : "enum_fields" :
[ [
{ {
@@ -136,21 +125,14 @@
"name" : "SuperSpeaker::Volume::Lower" "name" : "SuperSpeaker::Volume::Lower"
} }
], ],
"tag_info" :
{
"unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
},
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker::Volume", "linker_set_key" : "SuperSpeaker::Volume",
"name" : "SuperSpeaker::Volume", "name" : "SuperSpeaker::Volume",
"referenced_type" : "type-8", "referenced_type" : "type-8",
"self_type" : "type-8", "self_type" : "type-8",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "underlying_type" : "type-6",
"underlying_type" : "type-6" "unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
} }
], ],
"function_types" : [], "function_types" : [],
@@ -170,7 +152,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -186,7 +168,7 @@
], ],
"return_type" : "type-9", "return_type" : "type-9",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -202,7 +184,7 @@
], ],
"return_type" : "type-8", "return_type" : "type-8",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -218,7 +200,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -234,7 +216,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -255,7 +237,7 @@
], ],
"return_type" : "type-12", "return_type" : "type-12",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -271,7 +253,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -287,15 +269,13 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
} }
], ],
"global_vars" : [], "global_vars" : [],
"lvalue_reference_types" : [], "lvalue_reference_types" : [],
"pointer_types" : "pointer_types" :
[ [
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "SuperSpeaker *", "linker_set_key" : "SuperSpeaker *",
@@ -304,10 +284,7 @@
"self_type" : "type-9", "self_type" : "type-9",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "HighVolumeSpeaker *", "linker_set_key" : "HighVolumeSpeaker *",
@@ -316,10 +293,7 @@
"self_type" : "type-12", "self_type" : "type-12",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "float *", "linker_set_key" : "float *",
@@ -328,10 +302,7 @@
"self_type" : "type-7", "self_type" : "type-7",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "LowVolumeSpeaker *", "linker_set_key" : "LowVolumeSpeaker *",
@@ -341,13 +312,13 @@
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
} }
}
], ],
"qualified_types" : [], "qualified_types" : [],
"record_types" : "record_types" :
[ [
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : [], "base_specifiers" : [],
"fields" : "fields" :
[ [
@@ -359,24 +330,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS12SuperSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "SuperSpeaker", "linker_set_key" : "SuperSpeaker",
"name" : "SuperSpeaker", "name" : "SuperSpeaker",
"record_kind" : "class",
"referenced_type" : "type-1", "referenced_type" : "type-1",
"self_type" : "type-1", "self_type" : "type-1",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS12SuperSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -416,10 +378,10 @@
"mangled_component_name" : "_ZN12SuperSpeakerD0Ev" "mangled_component_name" : "_ZN12SuperSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -430,24 +392,15 @@
], ],
"fields" : [], "fields" : [],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS17HighVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "HighVolumeSpeaker", "linker_set_key" : "HighVolumeSpeaker",
"name" : "HighVolumeSpeaker", "name" : "HighVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-11", "referenced_type" : "type-11",
"self_type" : "type-11", "self_type" : "type-11",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS17HighVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -487,10 +440,10 @@
"mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -515,24 +468,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS16LowVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "LowVolumeSpeaker", "linker_set_key" : "LowVolumeSpeaker",
"name" : "LowVolumeSpeaker", "name" : "LowVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-5", "referenced_type" : "type-5",
"self_type" : "type-5", "self_type" : "type-5",
"size" : 24, "size" : 24,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS16LowVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -573,7 +517,6 @@
} }
] ]
} }
}
], ],
"rvalue_reference_types" : [] "rvalue_reference_types" : []
} }

View File

@@ -3,53 +3,42 @@
"builtin_types" : "builtin_types" :
[ [
{ {
"alignment" : 4,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "float", "linker_set_key" : "float",
"name" : "float", "name" : "float",
"referenced_type" : "type-3", "referenced_type" : "type-3",
"self_type" : "type-3", "self_type" : "type-3",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "int", "linker_set_key" : "int",
"name" : "int", "name" : "int",
"referenced_type" : "type-2", "referenced_type" : "type-2",
"self_type" : "type-2", "self_type" : "type-2",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : true, "is_unsigned" : true,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "unsigned int", "linker_set_key" : "unsigned int",
"name" : "unsigned int", "name" : "unsigned int",
"referenced_type" : "type-6", "referenced_type" : "type-6",
"self_type" : "type-6", "self_type" : "type-6",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 0,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 0,
"linker_set_key" : "void", "linker_set_key" : "void",
"name" : "void", "name" : "void",
"referenced_type" : "type-10", "referenced_type" : "type-10",
@@ -57,7 +46,6 @@
"size" : 0, "size" : 0,
"source_file" : "" "source_file" : ""
} }
}
], ],
"elf_functions" : "elf_functions" :
[ [
@@ -117,6 +105,7 @@
[ [
{ {
"access" : "private", "access" : "private",
"alignment" : 4,
"enum_fields" : "enum_fields" :
[ [
{ {
@@ -136,21 +125,14 @@
"name" : "SuperSpeaker::Volume::Lower" "name" : "SuperSpeaker::Volume::Lower"
} }
], ],
"tag_info" :
{
"unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
},
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker::Volume", "linker_set_key" : "SuperSpeaker::Volume",
"name" : "SuperSpeaker::Volume", "name" : "SuperSpeaker::Volume",
"referenced_type" : "type-8", "referenced_type" : "type-8",
"self_type" : "type-8", "self_type" : "type-8",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "underlying_type" : "type-6",
"underlying_type" : "type-6" "unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
} }
], ],
"function_types" : [], "function_types" : [],
@@ -170,7 +152,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -186,7 +168,7 @@
], ],
"return_type" : "type-9", "return_type" : "type-9",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -202,7 +184,7 @@
], ],
"return_type" : "type-8", "return_type" : "type-8",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -218,7 +200,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -234,7 +216,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -255,7 +237,7 @@
], ],
"return_type" : "type-12", "return_type" : "type-12",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -271,7 +253,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -287,15 +269,13 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
} }
], ],
"global_vars" : [], "global_vars" : [],
"lvalue_reference_types" : [], "lvalue_reference_types" : [],
"pointer_types" : "pointer_types" :
[ [
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "SuperSpeaker *", "linker_set_key" : "SuperSpeaker *",
@@ -304,10 +284,7 @@
"self_type" : "type-9", "self_type" : "type-9",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "HighVolumeSpeaker *", "linker_set_key" : "HighVolumeSpeaker *",
@@ -316,10 +293,7 @@
"self_type" : "type-12", "self_type" : "type-12",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "float *", "linker_set_key" : "float *",
@@ -328,10 +302,7 @@
"self_type" : "type-7", "self_type" : "type-7",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "LowVolumeSpeaker *", "linker_set_key" : "LowVolumeSpeaker *",
@@ -341,13 +312,13 @@
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
} }
}
], ],
"qualified_types" : [], "qualified_types" : [],
"record_types" : "record_types" :
[ [
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : [], "base_specifiers" : [],
"fields" : "fields" :
[ [
@@ -359,24 +330,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS12SuperSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker", "linker_set_key" : "SuperSpeaker",
"name" : "SuperSpeaker", "name" : "SuperSpeaker",
"record_kind" : "class",
"referenced_type" : "type-1", "referenced_type" : "type-1",
"self_type" : "type-1", "self_type" : "type-1",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS12SuperSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -416,10 +378,10 @@
"mangled_component_name" : "_ZN12SuperSpeakerD0Ev" "mangled_component_name" : "_ZN12SuperSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -430,24 +392,15 @@
], ],
"fields" : [], "fields" : [],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS17HighVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "HighVolumeSpeaker", "linker_set_key" : "HighVolumeSpeaker",
"name" : "HighVolumeSpeaker", "name" : "HighVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-11", "referenced_type" : "type-11",
"self_type" : "type-11", "self_type" : "type-11",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS17HighVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -487,10 +440,10 @@
"mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -515,24 +468,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS16LowVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "LowVolumeSpeaker", "linker_set_key" : "LowVolumeSpeaker",
"name" : "LowVolumeSpeaker", "name" : "LowVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-5", "referenced_type" : "type-5",
"self_type" : "type-5", "self_type" : "type-5",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS16LowVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -573,7 +517,6 @@
} }
] ]
} }
}
], ],
"rvalue_reference_types" : [] "rvalue_reference_types" : []
} }

View File

@@ -3,53 +3,42 @@
"builtin_types" : "builtin_types" :
[ [
{ {
"alignment" : 4,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "float", "linker_set_key" : "float",
"name" : "float", "name" : "float",
"referenced_type" : "type-3", "referenced_type" : "type-3",
"self_type" : "type-3", "self_type" : "type-3",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "int", "linker_set_key" : "int",
"name" : "int", "name" : "int",
"referenced_type" : "type-2", "referenced_type" : "type-2",
"self_type" : "type-2", "self_type" : "type-2",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : true, "is_unsigned" : true,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "unsigned int", "linker_set_key" : "unsigned int",
"name" : "unsigned int", "name" : "unsigned int",
"referenced_type" : "type-6", "referenced_type" : "type-6",
"self_type" : "type-6", "self_type" : "type-6",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 0,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 0,
"linker_set_key" : "void", "linker_set_key" : "void",
"name" : "void", "name" : "void",
"referenced_type" : "type-10", "referenced_type" : "type-10",
@@ -57,7 +46,6 @@
"size" : 0, "size" : 0,
"source_file" : "" "source_file" : ""
} }
}
], ],
"elf_functions" : "elf_functions" :
[ [
@@ -117,6 +105,7 @@
[ [
{ {
"access" : "private", "access" : "private",
"alignment" : 4,
"enum_fields" : "enum_fields" :
[ [
{ {
@@ -136,21 +125,14 @@
"name" : "SuperSpeaker::Volume::Lower" "name" : "SuperSpeaker::Volume::Lower"
} }
], ],
"tag_info" :
{
"unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
},
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker::Volume", "linker_set_key" : "SuperSpeaker::Volume",
"name" : "SuperSpeaker::Volume", "name" : "SuperSpeaker::Volume",
"referenced_type" : "type-8", "referenced_type" : "type-8",
"self_type" : "type-8", "self_type" : "type-8",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "underlying_type" : "type-6",
"underlying_type" : "type-6" "unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
} }
], ],
"function_types" : [], "function_types" : [],
@@ -170,7 +152,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -186,7 +168,7 @@
], ],
"return_type" : "type-9", "return_type" : "type-9",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -202,7 +184,7 @@
], ],
"return_type" : "type-8", "return_type" : "type-8",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -218,7 +200,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -234,7 +216,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -255,7 +237,7 @@
], ],
"return_type" : "type-12", "return_type" : "type-12",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -271,7 +253,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -287,15 +269,13 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
} }
], ],
"global_vars" : [], "global_vars" : [],
"lvalue_reference_types" : [], "lvalue_reference_types" : [],
"pointer_types" : "pointer_types" :
[ [
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "SuperSpeaker *", "linker_set_key" : "SuperSpeaker *",
@@ -304,10 +284,7 @@
"self_type" : "type-9", "self_type" : "type-9",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "HighVolumeSpeaker *", "linker_set_key" : "HighVolumeSpeaker *",
@@ -316,10 +293,7 @@
"self_type" : "type-12", "self_type" : "type-12",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "float *", "linker_set_key" : "float *",
@@ -328,10 +302,7 @@
"self_type" : "type-7", "self_type" : "type-7",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "LowVolumeSpeaker *", "linker_set_key" : "LowVolumeSpeaker *",
@@ -341,13 +312,13 @@
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
} }
}
], ],
"qualified_types" : [], "qualified_types" : [],
"record_types" : "record_types" :
[ [
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : [], "base_specifiers" : [],
"fields" : "fields" :
[ [
@@ -359,24 +330,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS12SuperSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "SuperSpeaker", "linker_set_key" : "SuperSpeaker",
"name" : "SuperSpeaker", "name" : "SuperSpeaker",
"record_kind" : "class",
"referenced_type" : "type-1", "referenced_type" : "type-1",
"self_type" : "type-1", "self_type" : "type-1",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS12SuperSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -416,10 +378,10 @@
"mangled_component_name" : "_ZN12SuperSpeakerD0Ev" "mangled_component_name" : "_ZN12SuperSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -430,24 +392,15 @@
], ],
"fields" : [], "fields" : [],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS17HighVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "HighVolumeSpeaker", "linker_set_key" : "HighVolumeSpeaker",
"name" : "HighVolumeSpeaker", "name" : "HighVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-11", "referenced_type" : "type-11",
"self_type" : "type-11", "self_type" : "type-11",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS17HighVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -487,10 +440,10 @@
"mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -515,24 +468,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS16LowVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "LowVolumeSpeaker", "linker_set_key" : "LowVolumeSpeaker",
"name" : "LowVolumeSpeaker", "name" : "LowVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-5", "referenced_type" : "type-5",
"self_type" : "type-5", "self_type" : "type-5",
"size" : 24, "size" : 24,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS16LowVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -573,7 +517,6 @@
} }
] ]
} }
}
], ],
"rvalue_reference_types" : [] "rvalue_reference_types" : []
} }

View File

@@ -3,53 +3,42 @@
"builtin_types" : "builtin_types" :
[ [
{ {
"alignment" : 4,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "float", "linker_set_key" : "float",
"name" : "float", "name" : "float",
"referenced_type" : "type-3", "referenced_type" : "type-3",
"self_type" : "type-3", "self_type" : "type-3",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "int", "linker_set_key" : "int",
"name" : "int", "name" : "int",
"referenced_type" : "type-2", "referenced_type" : "type-2",
"self_type" : "type-2", "self_type" : "type-2",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : true, "is_unsigned" : true,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "unsigned int", "linker_set_key" : "unsigned int",
"name" : "unsigned int", "name" : "unsigned int",
"referenced_type" : "type-6", "referenced_type" : "type-6",
"self_type" : "type-6", "self_type" : "type-6",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 0,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 0,
"linker_set_key" : "void", "linker_set_key" : "void",
"name" : "void", "name" : "void",
"referenced_type" : "type-10", "referenced_type" : "type-10",
@@ -57,7 +46,6 @@
"size" : 0, "size" : 0,
"source_file" : "" "source_file" : ""
} }
}
], ],
"elf_functions" : "elf_functions" :
[ [
@@ -117,6 +105,7 @@
[ [
{ {
"access" : "private", "access" : "private",
"alignment" : 4,
"enum_fields" : "enum_fields" :
[ [
{ {
@@ -136,21 +125,14 @@
"name" : "SuperSpeaker::Volume::Lower" "name" : "SuperSpeaker::Volume::Lower"
} }
], ],
"tag_info" :
{
"unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
},
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker::Volume", "linker_set_key" : "SuperSpeaker::Volume",
"name" : "SuperSpeaker::Volume", "name" : "SuperSpeaker::Volume",
"referenced_type" : "type-8", "referenced_type" : "type-8",
"self_type" : "type-8", "self_type" : "type-8",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "underlying_type" : "type-6",
"underlying_type" : "type-6" "unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
} }
], ],
"function_types" : [], "function_types" : [],
@@ -170,7 +152,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -186,7 +168,7 @@
], ],
"return_type" : "type-9", "return_type" : "type-9",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -202,7 +184,7 @@
], ],
"return_type" : "type-8", "return_type" : "type-8",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -218,7 +200,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -234,7 +216,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -255,7 +237,7 @@
], ],
"return_type" : "type-12", "return_type" : "type-12",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -271,7 +253,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -287,15 +269,13 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
} }
], ],
"global_vars" : [], "global_vars" : [],
"lvalue_reference_types" : [], "lvalue_reference_types" : [],
"pointer_types" : "pointer_types" :
[ [
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "SuperSpeaker *", "linker_set_key" : "SuperSpeaker *",
@@ -304,10 +284,7 @@
"self_type" : "type-9", "self_type" : "type-9",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "HighVolumeSpeaker *", "linker_set_key" : "HighVolumeSpeaker *",
@@ -316,10 +293,7 @@
"self_type" : "type-12", "self_type" : "type-12",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "float *", "linker_set_key" : "float *",
@@ -328,10 +302,7 @@
"self_type" : "type-7", "self_type" : "type-7",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 4, "alignment" : 4,
"linker_set_key" : "LowVolumeSpeaker *", "linker_set_key" : "LowVolumeSpeaker *",
@@ -341,13 +312,13 @@
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
} }
}
], ],
"qualified_types" : [], "qualified_types" : [],
"record_types" : "record_types" :
[ [
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : [], "base_specifiers" : [],
"fields" : "fields" :
[ [
@@ -359,24 +330,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS12SuperSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker", "linker_set_key" : "SuperSpeaker",
"name" : "SuperSpeaker", "name" : "SuperSpeaker",
"record_kind" : "class",
"referenced_type" : "type-1", "referenced_type" : "type-1",
"self_type" : "type-1", "self_type" : "type-1",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS12SuperSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -416,10 +378,10 @@
"mangled_component_name" : "_ZN12SuperSpeakerD0Ev" "mangled_component_name" : "_ZN12SuperSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -430,24 +392,15 @@
], ],
"fields" : [], "fields" : [],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS17HighVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "HighVolumeSpeaker", "linker_set_key" : "HighVolumeSpeaker",
"name" : "HighVolumeSpeaker", "name" : "HighVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-11", "referenced_type" : "type-11",
"self_type" : "type-11", "self_type" : "type-11",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS17HighVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -487,10 +440,10 @@
"mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 4,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -515,24 +468,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS16LowVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "LowVolumeSpeaker", "linker_set_key" : "LowVolumeSpeaker",
"name" : "LowVolumeSpeaker", "name" : "LowVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-5", "referenced_type" : "type-5",
"self_type" : "type-5", "self_type" : "type-5",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS16LowVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -573,7 +517,6 @@
} }
] ]
} }
}
], ],
"rvalue_reference_types" : [] "rvalue_reference_types" : []
} }

View File

@@ -3,53 +3,42 @@
"builtin_types" : "builtin_types" :
[ [
{ {
"alignment" : 4,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "float", "linker_set_key" : "float",
"name" : "float", "name" : "float",
"referenced_type" : "type-3", "referenced_type" : "type-3",
"self_type" : "type-3", "self_type" : "type-3",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "int", "linker_set_key" : "int",
"name" : "int", "name" : "int",
"referenced_type" : "type-2", "referenced_type" : "type-2",
"self_type" : "type-2", "self_type" : "type-2",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 4,
"is_integral" : true, "is_integral" : true,
"is_unsigned" : true, "is_unsigned" : true,
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "unsigned int", "linker_set_key" : "unsigned int",
"name" : "unsigned int", "name" : "unsigned int",
"referenced_type" : "type-6", "referenced_type" : "type-6",
"self_type" : "type-6", "self_type" : "type-6",
"size" : 4, "size" : 4,
"source_file" : "" "source_file" : ""
}
}, },
{ {
"alignment" : 0,
"is_integral" : false, "is_integral" : false,
"is_unsigned" : false, "is_unsigned" : false,
"type_info" :
{
"alignment" : 0,
"linker_set_key" : "void", "linker_set_key" : "void",
"name" : "void", "name" : "void",
"referenced_type" : "type-10", "referenced_type" : "type-10",
@@ -57,7 +46,6 @@
"size" : 0, "size" : 0,
"source_file" : "" "source_file" : ""
} }
}
], ],
"elf_functions" : "elf_functions" :
[ [
@@ -117,6 +105,7 @@
[ [
{ {
"access" : "private", "access" : "private",
"alignment" : 4,
"enum_fields" : "enum_fields" :
[ [
{ {
@@ -136,21 +125,14 @@
"name" : "SuperSpeaker::Volume::Lower" "name" : "SuperSpeaker::Volume::Lower"
} }
], ],
"tag_info" :
{
"unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
},
"type_info" :
{
"alignment" : 4,
"linker_set_key" : "SuperSpeaker::Volume", "linker_set_key" : "SuperSpeaker::Volume",
"name" : "SuperSpeaker::Volume", "name" : "SuperSpeaker::Volume",
"referenced_type" : "type-8", "referenced_type" : "type-8",
"self_type" : "type-8", "self_type" : "type-8",
"size" : 4, "size" : 4,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "underlying_type" : "type-6",
"underlying_type" : "type-6" "unique_id" : "_ZTSN12SuperSpeaker6VolumeE"
} }
], ],
"function_types" : [], "function_types" : [],
@@ -170,7 +152,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -186,7 +168,7 @@
], ],
"return_type" : "type-9", "return_type" : "type-9",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -202,7 +184,7 @@
], ],
"return_type" : "type-8", "return_type" : "type-8",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -218,7 +200,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -234,7 +216,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -255,7 +237,7 @@
], ],
"return_type" : "type-12", "return_type" : "type-12",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -271,7 +253,7 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
}, },
{ {
"access" : "public", "access" : "public",
@@ -287,15 +269,13 @@
], ],
"return_type" : "type-10", "return_type" : "type-10",
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
"template_info" : [] "template_args" : []
} }
], ],
"global_vars" : [], "global_vars" : [],
"lvalue_reference_types" : [], "lvalue_reference_types" : [],
"pointer_types" : "pointer_types" :
[ [
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "SuperSpeaker *", "linker_set_key" : "SuperSpeaker *",
@@ -304,10 +284,7 @@
"self_type" : "type-9", "self_type" : "type-9",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "HighVolumeSpeaker *", "linker_set_key" : "HighVolumeSpeaker *",
@@ -316,10 +293,7 @@
"self_type" : "type-12", "self_type" : "type-12",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "float *", "linker_set_key" : "float *",
@@ -328,10 +302,7 @@
"self_type" : "type-7", "self_type" : "type-7",
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
}
}, },
{
"type_info" :
{ {
"alignment" : 8, "alignment" : 8,
"linker_set_key" : "LowVolumeSpeaker *", "linker_set_key" : "LowVolumeSpeaker *",
@@ -341,13 +312,13 @@
"size" : 8, "size" : 8,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h"
} }
}
], ],
"qualified_types" : [], "qualified_types" : [],
"record_types" : "record_types" :
[ [
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : [], "base_specifiers" : [],
"fields" : "fields" :
[ [
@@ -359,24 +330,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS12SuperSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "SuperSpeaker", "linker_set_key" : "SuperSpeaker",
"name" : "SuperSpeaker", "name" : "SuperSpeaker",
"record_kind" : "class",
"referenced_type" : "type-1", "referenced_type" : "type-1",
"self_type" : "type-1", "self_type" : "type-1",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS12SuperSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -416,10 +378,10 @@
"mangled_component_name" : "_ZN12SuperSpeakerD0Ev" "mangled_component_name" : "_ZN12SuperSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -430,24 +392,15 @@
], ],
"fields" : [], "fields" : [],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS17HighVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "HighVolumeSpeaker", "linker_set_key" : "HighVolumeSpeaker",
"name" : "HighVolumeSpeaker", "name" : "HighVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-11", "referenced_type" : "type-11",
"self_type" : "type-11", "self_type" : "type-11",
"size" : 16, "size" : 16,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS17HighVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -487,10 +440,10 @@
"mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev"
} }
] ]
}
}, },
{ {
"access" : "public", "access" : "public",
"alignment" : 8,
"base_specifiers" : "base_specifiers" :
[ [
{ {
@@ -515,24 +468,15 @@
} }
], ],
"is_anonymous" : false, "is_anonymous" : false,
"record_kind" : "class",
"tag_info" :
{
"unique_id" : "_ZTS16LowVolumeSpeaker"
},
"template_info" : [],
"type_info" :
{
"alignment" : 8,
"linker_set_key" : "LowVolumeSpeaker", "linker_set_key" : "LowVolumeSpeaker",
"name" : "LowVolumeSpeaker", "name" : "LowVolumeSpeaker",
"record_kind" : "class",
"referenced_type" : "type-5", "referenced_type" : "type-5",
"self_type" : "type-5", "self_type" : "type-5",
"size" : 24, "size" : 24,
"source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" "source_file" : "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h",
}, "template_args" : [],
"vtable_layout" : "unique_id" : "_ZTS16LowVolumeSpeaker",
{
"vtable_components" : "vtable_components" :
[ [
{ {
@@ -573,7 +517,6 @@
} }
] ]
} }
}
], ],
"rvalue_reference_types" : [] "rvalue_reference_types" : []
} }