From a923b62fe556a37961079ab6d9e71c2a9e360df8 Mon Sep 17 00:00:00 2001 From: Hsin-Yi Chen Date: Wed, 6 Jul 2022 16:49:52 +0800 Subject: [PATCH] Remove MIPS data from ABI unit tests Test: PATH=$PATH:$ANDROID_BUILD_TOP/out/soong/dist/bin \ development/vndk/tools/header-checker/tests/test.py Bug: 237966264 Change-Id: If6c7e0fe297f384a703f0a45727618518062363e --- vndk/tools/header-checker/tests/module.py | 4 +- .../mips/libc_and_cpp.so.lsdump | 187 ------- .../libc_and_cpp_with_unused_struct.so.lsdump | 206 -------- .../mips/libgolden_cpp.so.lsdump | 455 ---------------- .../mips/libgolden_cpp_add_function.so.lsdump | 495 ------------------ ...den_cpp_add_function_sybmol_only.so.lsdump | 483 ----------------- ...ibgolden_cpp_add_global_variable.so.lsdump | 490 ----------------- .../mips/libgolden_cpp_json.so.lsdump | 408 --------------- .../reference_dumps/mips/libifunc.so.lsdump | 24 - .../mips/libpure_virtual_function.so.lsdump | 142 ----- .../mips/libreproducability.so.lsdump | 36 -- .../mips64/libc_and_cpp.so.lsdump | 187 ------- .../libc_and_cpp_with_unused_struct.so.lsdump | 206 -------- .../mips64/libgolden_cpp.so.lsdump | 455 ---------------- .../libgolden_cpp_add_function.so.lsdump | 495 ------------------ ...den_cpp_add_function_sybmol_only.so.lsdump | 483 ----------------- ...ibgolden_cpp_add_global_variable.so.lsdump | 490 ----------------- .../mips64/libgolden_cpp_json.so.lsdump | 408 --------------- .../reference_dumps/mips64/libifunc.so.lsdump | 24 - .../mips64/libpure_virtual_function.so.lsdump | 142 ----- .../mips64/libreproducability.so.lsdump | 36 -- 21 files changed, 1 insertion(+), 5855 deletions(-) delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function_sybmol_only.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_json.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libifunc.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libpure_virtual_function.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libreproducability.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function_sybmol_only.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_json.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libifunc.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libpure_virtual_function.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libreproducability.so.lsdump diff --git a/vndk/tools/header-checker/tests/module.py b/vndk/tools/header-checker/tests/module.py index 5aa628d31..94160dc66 100755 --- a/vndk/tools/header-checker/tests/module.py +++ b/vndk/tools/header-checker/tests/module.py @@ -19,10 +19,8 @@ ARCH_TARGET_CFLAGS = { 'arm64': ('-target', 'aarch64-linux-android'), 'x86': ('-target', 'i386-linux-androideabi'), 'x86_64': ('-target', 'x86_64-linux-android'), - 'mips': ('-target', 'mips-linux-androideabi'), - 'mips64': ('-target', 'mips64-linux-android'), } -TARGET_ARCHES = ['arm', 'arm64', 'x86', 'x86_64', 'mips', 'mips64'] +TARGET_ARCHES = ['arm', 'arm64', 'x86', 'x86_64'] def relative_to_abs_path(relative_path): diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump deleted file mode 100644 index fb34fa824..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump +++ /dev/null @@ -1,187 +0,0 @@ -record_types { - type_info { - name: "Foo" - size: 8 - alignment: 4 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTI3Foo" - self_type: "_ZTI3Foo" - } - fields { - referenced_type: "_ZTIPi" - field_offset: 0 - field_name: "a_" - access: private_access - } - fields { - referenced_type: "_ZTIPi" - field_offset: 32 - field_name: "b_" - access: private_access - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "Cinner" - size: 4 - alignment: 4 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI6Cinner" - self_type: "_ZTI6Cinner" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "c" - access: public_access - } - access: public_access - record_kind: struct_kind -} -record_types { - type_info { - name: "Cstruct" - size: 8 - alignment: 4 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI7Cstruct" - self_type: "_ZTI7Cstruct" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "a" - access: public_access - } - fields { - referenced_type: "_ZTIP6Cinner" - field_offset: 32 - field_name: "b" - access: public_access - } - access: public_access - record_kind: struct_kind -} -pointer_types { - type_info { - name: "Foo *" - size: 4 - alignment: 4 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIP3Foo" - self_type: "_ZTIP3Foo" - } -} -pointer_types { - type_info { - name: "Cinner *" - size: 4 - alignment: 4 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP6Cinner" - self_type: "_ZTIP6Cinner" - } -} -pointer_types { - type_info { - name: "Cstruct *" - size: 4 - alignment: 4 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP7Cstruct" - self_type: "_ZTIP7Cstruct" - } -} -pointer_types { - type_info { - name: "Cstruct **" - size: 4 - alignment: 4 - referenced_type: "_ZTIP7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIPP7Cstruct" - self_type: "_ZTIPP7Cstruct" - } -} -pointer_types { - type_info { - name: "int *" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIPi" - self_type: "_ZTIPi" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "CFunction" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - parameters { - referenced_type: "_ZTIPP7Cstruct" - default_arg: false - is_this_ptr: false - } - linker_set_key: "CFunction" - access: public_access -} -functions { - return_type: "_ZTI3Foo" - function_name: "foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_Z3fooPiS_" - access: public_access -} -elf_functions { - name: "CFunction" - binding: Global -} -elf_functions { - name: "_Z3fooPiS_" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump deleted file mode 100644 index b3a8c3241..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump +++ /dev/null @@ -1,206 +0,0 @@ -record_types { - type_info { - name: "UnusedStruct" - size: 4 - alignment: 4 - referenced_type: "_ZTI12UnusedStruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTI12UnusedStruct" - self_type: "_ZTI12UnusedStruct" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "mUnusedMember" - access: public_access - } - access: public_access - record_kind: struct_kind -} -record_types { - type_info { - name: "Foo" - size: 8 - alignment: 4 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTI3Foo" - self_type: "_ZTI3Foo" - } - fields { - referenced_type: "_ZTIPi" - field_offset: 0 - field_name: "a_" - access: private_access - } - fields { - referenced_type: "_ZTIPi" - field_offset: 32 - field_name: "b_" - access: private_access - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "Cinner" - size: 4 - alignment: 4 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI6Cinner" - self_type: "_ZTI6Cinner" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "c" - access: public_access - } - access: public_access - record_kind: struct_kind -} -record_types { - type_info { - name: "Cstruct" - size: 8 - alignment: 4 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI7Cstruct" - self_type: "_ZTI7Cstruct" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "a" - access: public_access - } - fields { - referenced_type: "_ZTIP6Cinner" - field_offset: 32 - field_name: "b" - access: public_access - } - access: public_access - record_kind: struct_kind -} -pointer_types { - type_info { - name: "Foo *" - size: 4 - alignment: 4 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIP3Foo" - self_type: "_ZTIP3Foo" - } -} -pointer_types { - type_info { - name: "Cinner *" - size: 4 - alignment: 4 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP6Cinner" - self_type: "_ZTIP6Cinner" - } -} -pointer_types { - type_info { - name: "Cstruct *" - size: 4 - alignment: 4 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP7Cstruct" - self_type: "_ZTIP7Cstruct" - } -} -pointer_types { - type_info { - name: "Cstruct **" - size: 4 - alignment: 4 - referenced_type: "_ZTIP7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIPP7Cstruct" - self_type: "_ZTIPP7Cstruct" - } -} -pointer_types { - type_info { - name: "int *" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIPi" - self_type: "_ZTIPi" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "CFunction" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - parameters { - referenced_type: "_ZTIPP7Cstruct" - default_arg: false - is_this_ptr: false - } - linker_set_key: "CFunction" - access: public_access -} -functions { - return_type: "_ZTI3Foo" - function_name: "foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_Z3fooPiS_" - access: public_access -} -elf_functions { - name: "CFunction" - binding: Global -} -elf_functions { - name: "_Z3fooPiS_" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump deleted file mode 100644 index 83c7a28d0..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump +++ /dev/null @@ -1,455 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 32 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 16 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 64 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 96 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump deleted file mode 100644 index 611ef1d5f..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump +++ /dev/null @@ -1,495 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 32 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 16 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 64 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 96 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::~SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeakerD2Ev" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIi" - function_name: "HighVolumeSpeaker::AddedFunction" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker13AddedFunctionEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeakerD2Ev" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeakerD0Ev" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeakerD0Ev" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function_sybmol_only.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function_sybmol_only.so.lsdump deleted file mode 100644 index ca51fd4b5..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function_sybmol_only.so.lsdump +++ /dev/null @@ -1,483 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 32 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 16 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 64 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 96 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::~SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeakerD2Ev" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeakerD2Ev" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeakerD0Ev" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeakerD0Ev" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump deleted file mode 100644 index ebc6b3bb3..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump +++ /dev/null @@ -1,490 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 32 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 16 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 64 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 96 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 8 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::~SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeakerD2Ev" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -global_vars { - name: "HighVolumeSpeaker::global_unprotected_id" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZN17HighVolumeSpeaker21global_unprotected_idE" - referenced_type: "_ZTIi" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeakerD2Ev" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeakerD0Ev" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeakerD0Ev" - binding: Global -} -elf_objects { - name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_json.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_json.so.lsdump deleted file mode 100644 index 3f1c7611b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_json.so.lsdump +++ /dev/null @@ -1,408 +0,0 @@ -{ - "array_types" : [], - "builtin_types" : - [ - { - "alignment" : 4, - "linker_set_key" : "_ZTIf", - "name" : "float", - "referenced_type" : "_ZTIf", - "self_type" : "_ZTIf", - "size" : 4 - }, - { - "alignment" : 4, - "is_integral" : true, - "linker_set_key" : "_ZTIi", - "name" : "int", - "referenced_type" : "_ZTIi", - "self_type" : "_ZTIi", - "size" : 4 - }, - { - "alignment" : 4, - "is_integral" : true, - "is_unsigned" : true, - "linker_set_key" : "_ZTIj", - "name" : "unsigned int", - "referenced_type" : "_ZTIj", - "self_type" : "_ZTIj", - "size" : 4 - }, - { - "linker_set_key" : "_ZTIv", - "name" : "void", - "referenced_type" : "_ZTIv", - "self_type" : "_ZTIv" - } - ], - "elf_functions" : - [ - { - "name" : "_Z26test_virtual_function_callP12SuperSpeaker" - }, - { - "name" : "_ZN12NotReferenced" - }, - { - "name" : "_ZN12SuperSpeaker11SpeakLouderEv" - }, - { - "name" : "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - }, - { - "name" : "_ZN12SuperSpeaker9SpeakLoudEv" - }, - { - "name" : "_ZN16LowVolumeSpeaker5SpeakEv" - }, - { - "name" : "_ZN16LowVolumeSpeaker6ListenEv" - }, - { - "name" : "_ZN17HighVolumeSpeaker11BadPracticeEf" - }, - { - "name" : "_ZN17HighVolumeSpeaker5SpeakEv" - }, - { - "name" : "_ZN17HighVolumeSpeaker6ListenEv" - } - ], - "elf_objects" : - [ - { - "name" : "_ZTV16LowVolumeSpeaker" - }, - { - "name" : "_ZTV17HighVolumeSpeaker" - } - ], - "enum_types" : - [ - { - "access" : "private", - "alignment" : 4, - "enum_fields" : - [ - { - "enum_field_value" : 1, - "name" : "SuperSpeaker::Loud" - }, - { - "enum_field_value" : 2, - "name" : "SuperSpeaker::Louder" - }, - { - "enum_field_value" : 3, - "name" : "SuperSpeaker::Loudest" - }, - { - "enum_field_value" : 0, - "name" : "SuperSpeaker::Lower" - } - ], - "linker_set_key" : "_ZTIN12SuperSpeaker6VolumeE", - "name" : "SuperSpeaker::Volume", - "referenced_type" : "_ZTIN12SuperSpeaker6VolumeE", - "self_type" : "_ZTIN12SuperSpeaker6VolumeE", - "size" : 4, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", - "underlying_type" : "_ZTIj" - } - ], - "function_types" : [], - "functions" : - [ - { - "function_name" : "SuperSpeaker::SpeakLouder", - "linker_set_key" : "_ZN12SuperSpeaker11SpeakLouderEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP12SuperSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "function_name" : "SuperSpeaker::CreateSuperSpeaker", - "linker_set_key" : "_ZN12SuperSpeaker18CreateSuperSpeakerEi", - "parameters" : - [ - { - "referenced_type" : "_ZTIi" - } - ], - "return_type" : "_ZTIP12SuperSpeaker", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "function_name" : "SuperSpeaker::SpeakLoud", - "linker_set_key" : "_ZN12SuperSpeaker9SpeakLoudEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP12SuperSpeaker" - } - ], - "return_type" : "_ZTIN12SuperSpeaker6VolumeE", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "function_name" : "LowVolumeSpeaker::Speak", - "linker_set_key" : "_ZN16LowVolumeSpeaker5SpeakEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP16LowVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - }, - { - "function_name" : "LowVolumeSpeaker::Listen", - "linker_set_key" : "_ZN16LowVolumeSpeaker6ListenEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP16LowVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - }, - { - "function_name" : "HighVolumeSpeaker::BadPractice", - "linker_set_key" : "_ZN17HighVolumeSpeaker11BadPracticeEf", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP17HighVolumeSpeaker" - }, - { - "referenced_type" : "_ZTIf" - } - ], - "return_type" : "_ZTIP17HighVolumeSpeaker", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - }, - { - "function_name" : "HighVolumeSpeaker::Speak", - "linker_set_key" : "_ZN17HighVolumeSpeaker5SpeakEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP17HighVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - }, - { - "function_name" : "HighVolumeSpeaker::Listen", - "linker_set_key" : "_ZN17HighVolumeSpeaker6ListenEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP17HighVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - } - ], - "global_vars" : [], - "lvalue_reference_types" : [], - "pointer_types" : - [ - { - "alignment" : 4, - "linker_set_key" : "_ZTIP12SuperSpeaker", - "name" : "SuperSpeaker *", - "referenced_type" : "_ZTI12SuperSpeaker", - "self_type" : "_ZTIP12SuperSpeaker", - "size" : 4, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "alignment" : 4, - "linker_set_key" : "_ZTIP16LowVolumeSpeaker", - "name" : "LowVolumeSpeaker *", - "referenced_type" : "_ZTI16LowVolumeSpeaker", - "self_type" : "_ZTIP16LowVolumeSpeaker", - "size" : 4, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - }, - { - "alignment" : 4, - "linker_set_key" : "_ZTIP17HighVolumeSpeaker", - "name" : "HighVolumeSpeaker *", - "referenced_type" : "_ZTI17HighVolumeSpeaker", - "self_type" : "_ZTIP17HighVolumeSpeaker", - "size" : 4, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - }, - { - "alignment" : 4, - "linker_set_key" : "_ZTIPf", - "name" : "float *", - "referenced_type" : "_ZTIf", - "self_type" : "_ZTIPf", - "size" : 4, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - } - ], - "qualified_types" : [], - "record_types" : - [ - { - "alignment" : 4, - "fields" : - [ - { - "access" : "private", - "field_name" : "mSpeakderId", - "field_offset" : 32, - "referenced_type" : "_ZTIi" - } - ], - "linker_set_key" : "_ZTI12SuperSpeaker", - "name" : "SuperSpeaker", - "record_kind" : "class", - "referenced_type" : "_ZTI12SuperSpeaker", - "self_type" : "_ZTI12SuperSpeaker", - "size" : 8, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", - "vtable_components" : - [ - { - "kind" : "offset_to_top" - }, - { - "kind" : "rtti", - "mangled_component_name" : "_ZTI12SuperSpeaker" - }, - { - "is_pure" : true, - "mangled_component_name" : "_ZN12SuperSpeaker5SpeakEv" - }, - { - "is_pure" : true, - "mangled_component_name" : "_ZN12SuperSpeaker6ListenEv" - }, - { - "kind" : "complete_dtor_pointer", - "mangled_component_name" : "_ZN12SuperSpeakerD1Ev" - }, - { - "kind" : "deleting_dtor_pointer", - "mangled_component_name" : "_ZN12SuperSpeakerD0Ev" - } - ] - }, - { - "alignment" : 4, - "base_specifiers" : - [ - { - "referenced_type" : "_ZTI12SuperSpeaker" - } - ], - "fields" : - [ - { - "field_name" : "speaker_uint_t", - "field_offset" : 64, - "referenced_type" : "_ZTIj" - }, - { - "field_name" : "speaker_float_star", - "field_offset" : 96, - "referenced_type" : "_ZTIPf" - } - ], - "linker_set_key" : "_ZTI16LowVolumeSpeaker", - "name" : "LowVolumeSpeaker", - "record_kind" : "class", - "referenced_type" : "_ZTI16LowVolumeSpeaker", - "self_type" : "_ZTI16LowVolumeSpeaker", - "size" : 16, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", - "vtable_components" : - [ - { - "kind" : "offset_to_top" - }, - { - "kind" : "rtti", - "mangled_component_name" : "_ZTI16LowVolumeSpeaker" - }, - { - "mangled_component_name" : "_ZN16LowVolumeSpeaker5SpeakEv" - }, - { - "mangled_component_name" : "_ZN16LowVolumeSpeaker6ListenEv" - }, - { - "kind" : "complete_dtor_pointer", - "mangled_component_name" : "_ZN16LowVolumeSpeakerD1Ev" - }, - { - "kind" : "deleting_dtor_pointer", - "mangled_component_name" : "_ZN16LowVolumeSpeakerD0Ev" - } - ] - }, - { - "alignment" : 4, - "base_specifiers" : - [ - { - "referenced_type" : "_ZTI12SuperSpeaker" - } - ], - "linker_set_key" : "_ZTI17HighVolumeSpeaker", - "name" : "HighVolumeSpeaker", - "record_kind" : "class", - "referenced_type" : "_ZTI17HighVolumeSpeaker", - "self_type" : "_ZTI17HighVolumeSpeaker", - "size" : 8, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", - "vtable_components" : - [ - { - "kind" : "offset_to_top" - }, - { - "kind" : "rtti", - "mangled_component_name" : "_ZTI17HighVolumeSpeaker" - }, - { - "mangled_component_name" : "_ZN17HighVolumeSpeaker5SpeakEv" - }, - { - "mangled_component_name" : "_ZN17HighVolumeSpeaker6ListenEv" - }, - { - "kind" : "complete_dtor_pointer", - "mangled_component_name" : "_ZN17HighVolumeSpeakerD1Ev" - }, - { - "kind" : "deleting_dtor_pointer", - "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" - } - ] - } - ], - "rvalue_reference_types" : [] -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libifunc.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libifunc.so.lsdump deleted file mode 100644 index dedcd5f47..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libifunc.so.lsdump +++ /dev/null @@ -1,24 +0,0 @@ -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "ifunc" - source_file: "development/vndk/tools/header-checker/tests/integration/ifunc/ifunc.c" - linker_set_key: "ifunc" - access: public_access -} -elf_functions { - name: "ifunc" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libpure_virtual_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libpure_virtual_function.so.lsdump deleted file mode 100644 index 302e5de65..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libpure_virtual_function.so.lsdump +++ /dev/null @@ -1,142 +0,0 @@ -record_types { - type_info { - name: "DerivedBar" - size: 4 - alignment: 4 - referenced_type: "_ZTI10DerivedBar" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTI10DerivedBar" - self_type: "_ZTI10DerivedBar" - } - base_specifiers { - referenced_type: "_ZTI15PureVirtualBase" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI10DerivedBar" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN10DerivedBarD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN10DerivedBarD0Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN10DerivedBar8foo_pureEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN10DerivedBar11foo_virtualEv" - component_value: 0 - is_pure: true - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "PureVirtualBase" - size: 4 - alignment: 4 - referenced_type: "_ZTI15PureVirtualBase" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTI15PureVirtualBase" - self_type: "_ZTI15PureVirtualBase" - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI15PureVirtualBase" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN15PureVirtualBaseD1Ev" - component_value: 0 - is_pure: true - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN15PureVirtualBaseD0Ev" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN15PureVirtualBase8foo_pureEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN15PureVirtualBase11foo_virtualEv" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -pointer_types { - type_info { - name: "DerivedBar *" - size: 4 - alignment: 4 - referenced_type: "_ZTI10DerivedBar" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTIP10DerivedBar" - self_type: "_ZTIP10DerivedBar" - } -} -pointer_types { - type_info { - name: "PureVirtualBase *" - size: 4 - alignment: 4 - referenced_type: "_ZTI15PureVirtualBase" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTIP15PureVirtualBase" - self_type: "_ZTIP15PureVirtualBase" - } -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libreproducability.so.lsdump deleted file mode 100644 index 6a15f800a..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libreproducability.so.lsdump +++ /dev/null @@ -1,36 +0,0 @@ -record_types { - type_info { - name: "ShouldRepro" - size: 4 - alignment: 4 - referenced_type: "_ZTI11ShouldRepro" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/reproducability_c.h" - linker_set_key: "_ZTI11ShouldRepro" - self_type: "_ZTI11ShouldRepro" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "a" - access: public_access - } - access: public_access - record_kind: struct_kind -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -elf_functions { - name: "repro" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump deleted file mode 100644 index 3da8342b1..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump +++ /dev/null @@ -1,187 +0,0 @@ -record_types { - type_info { - name: "Foo" - size: 16 - alignment: 8 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTI3Foo" - self_type: "_ZTI3Foo" - } - fields { - referenced_type: "_ZTIPi" - field_offset: 0 - field_name: "a_" - access: private_access - } - fields { - referenced_type: "_ZTIPi" - field_offset: 64 - field_name: "b_" - access: private_access - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "Cinner" - size: 4 - alignment: 4 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI6Cinner" - self_type: "_ZTI6Cinner" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "c" - access: public_access - } - access: public_access - record_kind: struct_kind -} -record_types { - type_info { - name: "Cstruct" - size: 16 - alignment: 8 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI7Cstruct" - self_type: "_ZTI7Cstruct" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "a" - access: public_access - } - fields { - referenced_type: "_ZTIP6Cinner" - field_offset: 64 - field_name: "b" - access: public_access - } - access: public_access - record_kind: struct_kind -} -pointer_types { - type_info { - name: "Foo *" - size: 8 - alignment: 8 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIP3Foo" - self_type: "_ZTIP3Foo" - } -} -pointer_types { - type_info { - name: "Cinner *" - size: 8 - alignment: 8 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP6Cinner" - self_type: "_ZTIP6Cinner" - } -} -pointer_types { - type_info { - name: "Cstruct *" - size: 8 - alignment: 8 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP7Cstruct" - self_type: "_ZTIP7Cstruct" - } -} -pointer_types { - type_info { - name: "Cstruct **" - size: 8 - alignment: 8 - referenced_type: "_ZTIP7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIPP7Cstruct" - self_type: "_ZTIPP7Cstruct" - } -} -pointer_types { - type_info { - name: "int *" - size: 8 - alignment: 8 - referenced_type: "_ZTIi" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIPi" - self_type: "_ZTIPi" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "CFunction" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - parameters { - referenced_type: "_ZTIPP7Cstruct" - default_arg: false - is_this_ptr: false - } - linker_set_key: "CFunction" - access: public_access -} -functions { - return_type: "_ZTI3Foo" - function_name: "foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_Z3fooPiS_" - access: public_access -} -elf_functions { - name: "CFunction" - binding: Global -} -elf_functions { - name: "_Z3fooPiS_" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump deleted file mode 100644 index 6987e9022..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump +++ /dev/null @@ -1,206 +0,0 @@ -record_types { - type_info { - name: "UnusedStruct" - size: 4 - alignment: 4 - referenced_type: "_ZTI12UnusedStruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTI12UnusedStruct" - self_type: "_ZTI12UnusedStruct" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "mUnusedMember" - access: public_access - } - access: public_access - record_kind: struct_kind -} -record_types { - type_info { - name: "Foo" - size: 16 - alignment: 8 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTI3Foo" - self_type: "_ZTI3Foo" - } - fields { - referenced_type: "_ZTIPi" - field_offset: 0 - field_name: "a_" - access: private_access - } - fields { - referenced_type: "_ZTIPi" - field_offset: 64 - field_name: "b_" - access: private_access - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "Cinner" - size: 4 - alignment: 4 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI6Cinner" - self_type: "_ZTI6Cinner" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "c" - access: public_access - } - access: public_access - record_kind: struct_kind -} -record_types { - type_info { - name: "Cstruct" - size: 16 - alignment: 8 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTI7Cstruct" - self_type: "_ZTI7Cstruct" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "a" - access: public_access - } - fields { - referenced_type: "_ZTIP6Cinner" - field_offset: 64 - field_name: "b" - access: public_access - } - access: public_access - record_kind: struct_kind -} -pointer_types { - type_info { - name: "Foo *" - size: 8 - alignment: 8 - referenced_type: "_ZTI3Foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIP3Foo" - self_type: "_ZTIP3Foo" - } -} -pointer_types { - type_info { - name: "Cinner *" - size: 8 - alignment: 8 - referenced_type: "_ZTI6Cinner" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP6Cinner" - self_type: "_ZTIP6Cinner" - } -} -pointer_types { - type_info { - name: "Cstruct *" - size: 8 - alignment: 8 - referenced_type: "_ZTI7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIP7Cstruct" - self_type: "_ZTIP7Cstruct" - } -} -pointer_types { - type_info { - name: "Cstruct **" - size: 8 - alignment: 8 - referenced_type: "_ZTIP7Cstruct" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - linker_set_key: "_ZTIPP7Cstruct" - self_type: "_ZTIPP7Cstruct" - } -} -pointer_types { - type_info { - name: "int *" - size: 8 - alignment: 8 - referenced_type: "_ZTIi" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - linker_set_key: "_ZTIPi" - self_type: "_ZTIPi" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "CFunction" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" - parameters { - referenced_type: "_ZTIPP7Cstruct" - default_arg: false - is_this_ptr: false - } - linker_set_key: "CFunction" - access: public_access -} -functions { - return_type: "_ZTI3Foo" - function_name: "foo" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - parameters { - referenced_type: "_ZTIPi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_Z3fooPiS_" - access: public_access -} -elf_functions { - name: "CFunction" - binding: Global -} -elf_functions { - name: "_Z3fooPiS_" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump deleted file mode 100644 index 953df5203..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump +++ /dev/null @@ -1,455 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 64 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 24 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 96 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 128 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 8 - alignment: 8 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump deleted file mode 100644 index 84fa217d7..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump +++ /dev/null @@ -1,495 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 64 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 24 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 96 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 128 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 8 - alignment: 8 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::~SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeakerD2Ev" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIi" - function_name: "HighVolumeSpeaker::AddedFunction" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker13AddedFunctionEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeakerD2Ev" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeakerD0Ev" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeakerD0Ev" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function_sybmol_only.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function_sybmol_only.so.lsdump deleted file mode 100644 index 4bcb92e97..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function_sybmol_only.so.lsdump +++ /dev/null @@ -1,483 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 64 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 24 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 96 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 128 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 8 - alignment: 8 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::~SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeakerD2Ev" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeakerD2Ev" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeakerD0Ev" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeakerD0Ev" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump deleted file mode 100644 index 77c3c1386..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump +++ /dev/null @@ -1,490 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTI12SuperSpeaker" - self_type: "_ZTI12SuperSpeaker" - } - fields { - referenced_type: "_ZTIi" - field_offset: 64 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI12SuperSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 24 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTI16LowVolumeSpeaker" - self_type: "_ZTI16LowVolumeSpeaker" - } - fields { - referenced_type: "_ZTIj" - field_offset: 96 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 128 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 16 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTI17HighVolumeSpeaker" - self_type: "_ZTI17HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI17HighVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "_ZTIN12SuperSpeaker6VolumeE" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIN12SuperSpeaker6VolumeE" - self_type: "_ZTIN12SuperSpeaker6VolumeE" - } - underlying_type: "_ZTIj" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Loudest" - } - enum_fields { - enum_field_value: 0 - name: "SuperSpeaker::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI12SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "_ZTIP12SuperSpeaker" - self_type: "_ZTIP12SuperSpeaker" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI16LowVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIP16LowVolumeSpeaker" - self_type: "_ZTIP16LowVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "_ZTI17HighVolumeSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZTIP17HighVolumeSpeaker" - self_type: "_ZTIP17HighVolumeSpeaker" - } -} -pointer_types { - type_info { - name: "float *" - size: 8 - alignment: 8 - referenced_type: "_ZTIf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPf" - self_type: "_ZTIPf" - } -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "_ZTIf" - source_file: "" - linker_set_key: "_ZTIf" - self_type: "_ZTIf" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "_ZTIj" - source_file: "" - linker_set_key: "_ZTIj" - self_type: "_ZTIj" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "_ZTIP12SuperSpeaker" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "_ZTIN12SuperSpeaker6VolumeE" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "SuperSpeaker::~SuperSpeaker" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "_ZTIP12SuperSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN12SuperSpeakerD2Ev" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "LowVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "_ZTIP16LowVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "_ZTIP17HighVolumeSpeaker" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - parameters { - referenced_type: "_ZTIf" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Speak" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "_ZTIv" - function_name: "HighVolumeSpeaker::Listen" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "_ZTIP17HighVolumeSpeaker" - default_arg: false - is_this_ptr: true - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -global_vars { - name: "HighVolumeSpeaker::global_unprotected_id" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "_ZN17HighVolumeSpeaker21global_unprotected_idE" - referenced_type: "_ZTIi" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" - binding: Global -} -elf_functions { - name: "_ZN12NotReferenced" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" - binding: Global -} -elf_functions { - name: "_ZN12SuperSpeakerD2Ev" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN16LowVolumeSpeakerD0Ev" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" - binding: Global -} -elf_functions { - name: "_ZN17HighVolumeSpeakerD0Ev" - binding: Global -} -elf_objects { - name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" - binding: Global -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" - binding: Global -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_json.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_json.so.lsdump deleted file mode 100644 index 90193c13d..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_json.so.lsdump +++ /dev/null @@ -1,408 +0,0 @@ -{ - "array_types" : [], - "builtin_types" : - [ - { - "alignment" : 4, - "linker_set_key" : "_ZTIf", - "name" : "float", - "referenced_type" : "_ZTIf", - "self_type" : "_ZTIf", - "size" : 4 - }, - { - "alignment" : 4, - "is_integral" : true, - "linker_set_key" : "_ZTIi", - "name" : "int", - "referenced_type" : "_ZTIi", - "self_type" : "_ZTIi", - "size" : 4 - }, - { - "alignment" : 4, - "is_integral" : true, - "is_unsigned" : true, - "linker_set_key" : "_ZTIj", - "name" : "unsigned int", - "referenced_type" : "_ZTIj", - "self_type" : "_ZTIj", - "size" : 4 - }, - { - "linker_set_key" : "_ZTIv", - "name" : "void", - "referenced_type" : "_ZTIv", - "self_type" : "_ZTIv" - } - ], - "elf_functions" : - [ - { - "name" : "_Z26test_virtual_function_callP12SuperSpeaker" - }, - { - "name" : "_ZN12NotReferenced" - }, - { - "name" : "_ZN12SuperSpeaker11SpeakLouderEv" - }, - { - "name" : "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - }, - { - "name" : "_ZN12SuperSpeaker9SpeakLoudEv" - }, - { - "name" : "_ZN16LowVolumeSpeaker5SpeakEv" - }, - { - "name" : "_ZN16LowVolumeSpeaker6ListenEv" - }, - { - "name" : "_ZN17HighVolumeSpeaker11BadPracticeEf" - }, - { - "name" : "_ZN17HighVolumeSpeaker5SpeakEv" - }, - { - "name" : "_ZN17HighVolumeSpeaker6ListenEv" - } - ], - "elf_objects" : - [ - { - "name" : "_ZTV16LowVolumeSpeaker" - }, - { - "name" : "_ZTV17HighVolumeSpeaker" - } - ], - "enum_types" : - [ - { - "access" : "private", - "alignment" : 4, - "enum_fields" : - [ - { - "enum_field_value" : 1, - "name" : "SuperSpeaker::Loud" - }, - { - "enum_field_value" : 2, - "name" : "SuperSpeaker::Louder" - }, - { - "enum_field_value" : 3, - "name" : "SuperSpeaker::Loudest" - }, - { - "enum_field_value" : 0, - "name" : "SuperSpeaker::Lower" - } - ], - "linker_set_key" : "_ZTIN12SuperSpeaker6VolumeE", - "name" : "SuperSpeaker::Volume", - "referenced_type" : "_ZTIN12SuperSpeaker6VolumeE", - "self_type" : "_ZTIN12SuperSpeaker6VolumeE", - "size" : 4, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", - "underlying_type" : "_ZTIj" - } - ], - "function_types" : [], - "functions" : - [ - { - "function_name" : "SuperSpeaker::SpeakLouder", - "linker_set_key" : "_ZN12SuperSpeaker11SpeakLouderEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP12SuperSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "function_name" : "SuperSpeaker::CreateSuperSpeaker", - "linker_set_key" : "_ZN12SuperSpeaker18CreateSuperSpeakerEi", - "parameters" : - [ - { - "referenced_type" : "_ZTIi" - } - ], - "return_type" : "_ZTIP12SuperSpeaker", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "function_name" : "SuperSpeaker::SpeakLoud", - "linker_set_key" : "_ZN12SuperSpeaker9SpeakLoudEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP12SuperSpeaker" - } - ], - "return_type" : "_ZTIN12SuperSpeaker6VolumeE", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "function_name" : "LowVolumeSpeaker::Speak", - "linker_set_key" : "_ZN16LowVolumeSpeaker5SpeakEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP16LowVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - }, - { - "function_name" : "LowVolumeSpeaker::Listen", - "linker_set_key" : "_ZN16LowVolumeSpeaker6ListenEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP16LowVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - }, - { - "function_name" : "HighVolumeSpeaker::BadPractice", - "linker_set_key" : "_ZN17HighVolumeSpeaker11BadPracticeEf", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP17HighVolumeSpeaker" - }, - { - "referenced_type" : "_ZTIf" - } - ], - "return_type" : "_ZTIP17HighVolumeSpeaker", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - }, - { - "function_name" : "HighVolumeSpeaker::Speak", - "linker_set_key" : "_ZN17HighVolumeSpeaker5SpeakEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP17HighVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - }, - { - "function_name" : "HighVolumeSpeaker::Listen", - "linker_set_key" : "_ZN17HighVolumeSpeaker6ListenEv", - "parameters" : - [ - { - "is_this_ptr" : true, - "referenced_type" : "_ZTIP17HighVolumeSpeaker" - } - ], - "return_type" : "_ZTIv", - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - } - ], - "global_vars" : [], - "lvalue_reference_types" : [], - "pointer_types" : - [ - { - "alignment" : 8, - "linker_set_key" : "_ZTIP12SuperSpeaker", - "name" : "SuperSpeaker *", - "referenced_type" : "_ZTI12SuperSpeaker", - "self_type" : "_ZTIP12SuperSpeaker", - "size" : 8, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - }, - { - "alignment" : 8, - "linker_set_key" : "_ZTIP16LowVolumeSpeaker", - "name" : "LowVolumeSpeaker *", - "referenced_type" : "_ZTI16LowVolumeSpeaker", - "self_type" : "_ZTIP16LowVolumeSpeaker", - "size" : 8, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - }, - { - "alignment" : 8, - "linker_set_key" : "_ZTIP17HighVolumeSpeaker", - "name" : "HighVolumeSpeaker *", - "referenced_type" : "_ZTI17HighVolumeSpeaker", - "self_type" : "_ZTIP17HighVolumeSpeaker", - "size" : 8, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - }, - { - "alignment" : 8, - "linker_set_key" : "_ZTIPf", - "name" : "float *", - "referenced_type" : "_ZTIf", - "self_type" : "_ZTIPf", - "size" : 8, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - } - ], - "qualified_types" : [], - "record_types" : - [ - { - "alignment" : 8, - "fields" : - [ - { - "access" : "private", - "field_name" : "mSpeakderId", - "field_offset" : 64, - "referenced_type" : "_ZTIi" - } - ], - "linker_set_key" : "_ZTI12SuperSpeaker", - "name" : "SuperSpeaker", - "record_kind" : "class", - "referenced_type" : "_ZTI12SuperSpeaker", - "self_type" : "_ZTI12SuperSpeaker", - "size" : 16, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h", - "vtable_components" : - [ - { - "kind" : "offset_to_top" - }, - { - "kind" : "rtti", - "mangled_component_name" : "_ZTI12SuperSpeaker" - }, - { - "is_pure" : true, - "mangled_component_name" : "_ZN12SuperSpeaker5SpeakEv" - }, - { - "is_pure" : true, - "mangled_component_name" : "_ZN12SuperSpeaker6ListenEv" - }, - { - "kind" : "complete_dtor_pointer", - "mangled_component_name" : "_ZN12SuperSpeakerD1Ev" - }, - { - "kind" : "deleting_dtor_pointer", - "mangled_component_name" : "_ZN12SuperSpeakerD0Ev" - } - ] - }, - { - "alignment" : 8, - "base_specifiers" : - [ - { - "referenced_type" : "_ZTI12SuperSpeaker" - } - ], - "fields" : - [ - { - "field_name" : "speaker_uint_t", - "field_offset" : 96, - "referenced_type" : "_ZTIj" - }, - { - "field_name" : "speaker_float_star", - "field_offset" : 128, - "referenced_type" : "_ZTIPf" - } - ], - "linker_set_key" : "_ZTI16LowVolumeSpeaker", - "name" : "LowVolumeSpeaker", - "record_kind" : "class", - "referenced_type" : "_ZTI16LowVolumeSpeaker", - "self_type" : "_ZTI16LowVolumeSpeaker", - "size" : 24, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h", - "vtable_components" : - [ - { - "kind" : "offset_to_top" - }, - { - "kind" : "rtti", - "mangled_component_name" : "_ZTI16LowVolumeSpeaker" - }, - { - "mangled_component_name" : "_ZN16LowVolumeSpeaker5SpeakEv" - }, - { - "mangled_component_name" : "_ZN16LowVolumeSpeaker6ListenEv" - }, - { - "kind" : "complete_dtor_pointer", - "mangled_component_name" : "_ZN16LowVolumeSpeakerD1Ev" - }, - { - "kind" : "deleting_dtor_pointer", - "mangled_component_name" : "_ZN16LowVolumeSpeakerD0Ev" - } - ] - }, - { - "alignment" : 8, - "base_specifiers" : - [ - { - "referenced_type" : "_ZTI12SuperSpeaker" - } - ], - "linker_set_key" : "_ZTI17HighVolumeSpeaker", - "name" : "HighVolumeSpeaker", - "record_kind" : "class", - "referenced_type" : "_ZTI17HighVolumeSpeaker", - "self_type" : "_ZTI17HighVolumeSpeaker", - "size" : 16, - "source_file" : "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h", - "vtable_components" : - [ - { - "kind" : "offset_to_top" - }, - { - "kind" : "rtti", - "mangled_component_name" : "_ZTI17HighVolumeSpeaker" - }, - { - "mangled_component_name" : "_ZN17HighVolumeSpeaker5SpeakEv" - }, - { - "mangled_component_name" : "_ZN17HighVolumeSpeaker6ListenEv" - }, - { - "kind" : "complete_dtor_pointer", - "mangled_component_name" : "_ZN17HighVolumeSpeakerD1Ev" - }, - { - "kind" : "deleting_dtor_pointer", - "mangled_component_name" : "_ZN17HighVolumeSpeakerD0Ev" - } - ] - } - ], - "rvalue_reference_types" : [] -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libifunc.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libifunc.so.lsdump deleted file mode 100644 index dedcd5f47..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libifunc.so.lsdump +++ /dev/null @@ -1,24 +0,0 @@ -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} -functions { - return_type: "_ZTIv" - function_name: "ifunc" - source_file: "development/vndk/tools/header-checker/tests/integration/ifunc/ifunc.c" - linker_set_key: "ifunc" - access: public_access -} -elf_functions { - name: "ifunc" - binding: Global -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libpure_virtual_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libpure_virtual_function.so.lsdump deleted file mode 100644 index ae53101cf..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libpure_virtual_function.so.lsdump +++ /dev/null @@ -1,142 +0,0 @@ -record_types { - type_info { - name: "DerivedBar" - size: 8 - alignment: 8 - referenced_type: "_ZTI10DerivedBar" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTI10DerivedBar" - self_type: "_ZTI10DerivedBar" - } - base_specifiers { - referenced_type: "_ZTI15PureVirtualBase" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI10DerivedBar" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN10DerivedBarD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN10DerivedBarD0Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN10DerivedBar8foo_pureEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN10DerivedBar11foo_virtualEv" - component_value: 0 - is_pure: true - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "PureVirtualBase" - size: 8 - alignment: 8 - referenced_type: "_ZTI15PureVirtualBase" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTI15PureVirtualBase" - self_type: "_ZTI15PureVirtualBase" - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI15PureVirtualBase" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN15PureVirtualBaseD1Ev" - component_value: 0 - is_pure: true - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN15PureVirtualBaseD0Ev" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN15PureVirtualBase8foo_pureEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN15PureVirtualBase11foo_virtualEv" - component_value: 0 - is_pure: false - } - } - access: public_access - record_kind: class_kind -} -pointer_types { - type_info { - name: "DerivedBar *" - size: 8 - alignment: 8 - referenced_type: "_ZTI10DerivedBar" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTIP10DerivedBar" - self_type: "_ZTIP10DerivedBar" - } -} -pointer_types { - type_info { - name: "PureVirtualBase *" - size: 8 - alignment: 8 - referenced_type: "_ZTI15PureVirtualBase" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/pure_virtual/include/header1.h" - linker_set_key: "_ZTIP15PureVirtualBase" - self_type: "_ZTIP15PureVirtualBase" - } -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "_ZTIv" - source_file: "" - linker_set_key: "_ZTIv" - self_type: "_ZTIv" - } - is_unsigned: false - is_integral: false -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libreproducability.so.lsdump deleted file mode 100644 index 6a15f800a..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libreproducability.so.lsdump +++ /dev/null @@ -1,36 +0,0 @@ -record_types { - type_info { - name: "ShouldRepro" - size: 4 - alignment: 4 - referenced_type: "_ZTI11ShouldRepro" - source_file: "development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/reproducability_c.h" - linker_set_key: "_ZTI11ShouldRepro" - self_type: "_ZTI11ShouldRepro" - } - fields { - referenced_type: "_ZTIi" - field_offset: 0 - field_name: "a" - access: public_access - } - access: public_access - record_kind: struct_kind -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "_ZTIi" - source_file: "" - linker_set_key: "_ZTIi" - self_type: "_ZTIi" - } - is_unsigned: false - is_integral: true -} -elf_functions { - name: "repro" - binding: Global -}