From c1965c3600f666b548287b02bf88cbc8604388bd Mon Sep 17 00:00:00 2001 From: Hsin-Yi Chen Date: Tue, 5 Jul 2022 18:21:55 +0800 Subject: [PATCH] Generate only the necessary data for ABI unit tests This commit configures "has_reference_dump" for the modules in ABI unit tests. gen_all.py refers to the flag to creates reference dumps. Test: PATH=$PATH:$ANDROID_BUILD_TOP/out/soong/dist/bin \ development/vndk/tools/header-checker/tests/gen_all.py Test: PATH=$PATH:$ANDROID_BUILD_TOP/out/soong/dist/bin \ development/vndk/tools/header-checker/tests/test.py Bug: 237966264 Change-Id: I35d5c43a20533cc71470b02919258dd883b40241 --- vndk/tools/header-checker/tests/gen_all.py | 7 +- vndk/tools/header-checker/tests/module.py | 64 ++- ...olden_cpp_change_function_access.so.lsdump | 455 ---------------- ...bgolden_cpp_change_member_access.so.lsdump | 455 ---------------- .../arm/libgolden_cpp_enum_diff.so.lsdump | 451 --------------- .../arm/libgolden_cpp_enum_extended.so.lsdump | 459 ---------------- .../libgolden_cpp_fake_member_diff.so.lsdump | 413 -------------- ...den_cpp_inheritance_type_changed.so.lsdump | 515 ------------------ .../libgolden_cpp_member_cv_diff.so.lsdump | 469 ---------------- .../arm/libgolden_cpp_member_diff.so.lsdump | 468 ---------------- .../libgolden_cpp_member_fake_diff.so.lsdump | 468 ---------------- ...en_cpp_member_integral_type_diff.so.lsdump | 455 ---------------- ...ibgolden_cpp_member_name_changed.so.lsdump | 455 ---------------- ...ibgolden_cpp_parameter_type_diff.so.lsdump | 479 ---------------- .../libgolden_cpp_return_type_diff.so.lsdump | 455 ---------------- ..._unreferenced_elf_symbol_removed.so.lsdump | 451 --------------- .../arm/libgolden_cpp_vtable_diff.so.lsdump | 450 --------------- ...olden_cpp_change_function_access.so.lsdump | 455 ---------------- ...bgolden_cpp_change_member_access.so.lsdump | 455 ---------------- .../arm64/libgolden_cpp_enum_diff.so.lsdump | 451 --------------- .../libgolden_cpp_enum_extended.so.lsdump | 459 ---------------- .../libgolden_cpp_fake_member_diff.so.lsdump | 413 -------------- ...den_cpp_inheritance_type_changed.so.lsdump | 515 ------------------ .../libgolden_cpp_member_cv_diff.so.lsdump | 469 ---------------- .../arm64/libgolden_cpp_member_diff.so.lsdump | 468 ---------------- .../libgolden_cpp_member_fake_diff.so.lsdump | 468 ---------------- ...en_cpp_member_integral_type_diff.so.lsdump | 455 ---------------- ...ibgolden_cpp_member_name_changed.so.lsdump | 455 ---------------- ...ibgolden_cpp_parameter_type_diff.so.lsdump | 479 ---------------- .../libgolden_cpp_return_type_diff.so.lsdump | 455 ---------------- ..._unreferenced_elf_symbol_removed.so.lsdump | 451 --------------- .../arm64/libgolden_cpp_vtable_diff.so.lsdump | 450 --------------- ...olden_cpp_change_function_access.so.lsdump | 455 ---------------- ...bgolden_cpp_change_member_access.so.lsdump | 455 ---------------- .../mips/libgolden_cpp_enum_diff.so.lsdump | 451 --------------- .../libgolden_cpp_enum_extended.so.lsdump | 459 ---------------- .../libgolden_cpp_fake_member_diff.so.lsdump | 413 -------------- ...den_cpp_inheritance_type_changed.so.lsdump | 515 ------------------ .../libgolden_cpp_member_cv_diff.so.lsdump | 469 ---------------- .../mips/libgolden_cpp_member_diff.so.lsdump | 468 ---------------- .../libgolden_cpp_member_fake_diff.so.lsdump | 468 ---------------- ...en_cpp_member_integral_type_diff.so.lsdump | 455 ---------------- ...ibgolden_cpp_member_name_changed.so.lsdump | 455 ---------------- ...ibgolden_cpp_parameter_type_diff.so.lsdump | 479 ---------------- .../libgolden_cpp_return_type_diff.so.lsdump | 455 ---------------- ..._unreferenced_elf_symbol_removed.so.lsdump | 451 --------------- .../mips/libgolden_cpp_vtable_diff.so.lsdump | 450 --------------- ...olden_cpp_change_function_access.so.lsdump | 455 ---------------- ...bgolden_cpp_change_member_access.so.lsdump | 455 ---------------- .../mips64/libgolden_cpp_enum_diff.so.lsdump | 451 --------------- .../libgolden_cpp_enum_extended.so.lsdump | 459 ---------------- .../libgolden_cpp_fake_member_diff.so.lsdump | 413 -------------- ...den_cpp_inheritance_type_changed.so.lsdump | 515 ------------------ .../libgolden_cpp_member_cv_diff.so.lsdump | 469 ---------------- .../libgolden_cpp_member_diff.so.lsdump | 468 ---------------- .../libgolden_cpp_member_fake_diff.so.lsdump | 468 ---------------- ...en_cpp_member_integral_type_diff.so.lsdump | 455 ---------------- ...ibgolden_cpp_member_name_changed.so.lsdump | 455 ---------------- ...ibgolden_cpp_parameter_type_diff.so.lsdump | 479 ---------------- .../libgolden_cpp_return_type_diff.so.lsdump | 455 ---------------- ..._unreferenced_elf_symbol_removed.so.lsdump | 451 --------------- .../libgolden_cpp_vtable_diff.so.lsdump | 450 --------------- ...olden_cpp_change_function_access.so.lsdump | 455 ---------------- ...bgolden_cpp_change_member_access.so.lsdump | 455 ---------------- .../x86/libgolden_cpp_enum_diff.so.lsdump | 451 --------------- .../x86/libgolden_cpp_enum_extended.so.lsdump | 459 ---------------- .../libgolden_cpp_fake_member_diff.so.lsdump | 413 -------------- ...den_cpp_inheritance_type_changed.so.lsdump | 515 ------------------ .../libgolden_cpp_member_cv_diff.so.lsdump | 469 ---------------- .../x86/libgolden_cpp_member_diff.so.lsdump | 468 ---------------- .../libgolden_cpp_member_fake_diff.so.lsdump | 468 ---------------- ...en_cpp_member_integral_type_diff.so.lsdump | 455 ---------------- ...ibgolden_cpp_member_name_changed.so.lsdump | 455 ---------------- ...ibgolden_cpp_parameter_type_diff.so.lsdump | 479 ---------------- .../libgolden_cpp_return_type_diff.so.lsdump | 455 ---------------- ..._unreferenced_elf_symbol_removed.so.lsdump | 451 --------------- .../x86/libgolden_cpp_vtable_diff.so.lsdump | 450 --------------- ...olden_cpp_change_function_access.so.lsdump | 455 ---------------- ...bgolden_cpp_change_member_access.so.lsdump | 455 ---------------- .../x86_64/libgolden_cpp_enum_diff.so.lsdump | 451 --------------- .../libgolden_cpp_enum_extended.so.lsdump | 459 ---------------- .../libgolden_cpp_fake_member_diff.so.lsdump | 413 -------------- ...den_cpp_inheritance_type_changed.so.lsdump | 515 ------------------ .../libgolden_cpp_member_cv_diff.so.lsdump | 469 ---------------- .../libgolden_cpp_member_diff.so.lsdump | 468 ---------------- .../libgolden_cpp_member_fake_diff.so.lsdump | 468 ---------------- ...en_cpp_member_integral_type_diff.so.lsdump | 455 ---------------- ...ibgolden_cpp_member_name_changed.so.lsdump | 455 ---------------- ...ibgolden_cpp_parameter_type_diff.so.lsdump | 479 ---------------- .../libgolden_cpp_return_type_diff.so.lsdump | 455 ---------------- ..._unreferenced_elf_symbol_removed.so.lsdump | 451 --------------- .../libgolden_cpp_vtable_diff.so.lsdump | 450 --------------- vndk/tools/header-checker/tests/test.py | 35 +- 93 files changed, 67 insertions(+), 41427 deletions(-) delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_function_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_member_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_enum_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_enum_extended.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_fake_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_inheritance_type_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_cv_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_fake_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_integral_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_name_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_parameter_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_return_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_vtable_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_function_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_member_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_enum_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_enum_extended.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_fake_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_inheritance_type_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_cv_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_fake_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_integral_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_name_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_parameter_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_return_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_vtable_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_function_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_member_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_enum_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_enum_extended.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_fake_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_inheritance_type_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_cv_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_fake_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_integral_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_name_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_parameter_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_return_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_vtable_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_function_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_member_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_enum_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_enum_extended.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_fake_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_inheritance_type_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_cv_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_fake_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_integral_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_name_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_parameter_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_return_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_vtable_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_function_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_member_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_enum_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_enum_extended.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_fake_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_inheritance_type_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_cv_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_fake_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_integral_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_name_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_parameter_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_return_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_vtable_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_change_function_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_change_member_access.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_enum_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_enum_extended.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_fake_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_inheritance_type_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_cv_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_fake_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_integral_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_name_changed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_parameter_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_return_type_diff.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump delete mode 100644 vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_vtable_diff.so.lsdump diff --git a/vndk/tools/header-checker/tests/gen_all.py b/vndk/tools/header-checker/tests/gen_all.py index e0e7122c4..257e203a3 100755 --- a/vndk/tools/header-checker/tests/gen_all.py +++ b/vndk/tools/header-checker/tests/gen_all.py @@ -13,7 +13,8 @@ from module import Module from test import INPUT_DIR from test import EXPECTED_DIR from test import EXPORTED_HEADER_DIRS -from test import make_and_copy_reference_dumps +from test import REF_DUMP_DIR +from test import make_and_copy_dump FILE_EXTENSIONS = ['h', 'hpp', 'hxx', 'cpp', 'cc', 'c'] @@ -41,7 +42,9 @@ def main(): modules = Module.get_test_modules() for module in modules: - print('Created abi dump at', make_and_copy_reference_dumps(module)) + if module.has_reference_dump: + print('Created abi dump at', + make_and_copy_dump(module, REF_DUMP_DIR)) return 0 diff --git a/vndk/tools/header-checker/tests/module.py b/vndk/tools/header-checker/tests/module.py index 9890fb8da..5aa628d31 100755 --- a/vndk/tools/header-checker/tests/module.py +++ b/vndk/tools/header-checker/tests/module.py @@ -37,13 +37,15 @@ def relative_to_abs_path_list(relative_path_list): class Module(object): - def __init__(self, name, arch, cflags, export_include_dirs): + def __init__(self, name, arch, cflags, export_include_dirs, + has_reference_dump): self.name = name self.arch = arch self.cflags = tuple(cflags) self.arch_cflags = ARCH_TARGET_CFLAGS.get(self.arch, tuple()) self.export_include_dirs = relative_to_abs_path_list( export_include_dirs) + self.has_reference_dump = has_reference_dump def get_dump_name(self): """Returns the module name followed by file extension.""" @@ -78,10 +80,11 @@ class Module(object): class SdumpModule(Module): - def __init__(self, name, src, export_include_dirs=tuple(), cflags=tuple(), - arch='', dumper_flags=tuple()): - super(SdumpModule, self).__init__(name, arch, cflags, - export_include_dirs) + def __init__(self, name, src, export_include_dirs=tuple(), + has_reference_dump=False, cflags=tuple(), arch='', + dumper_flags=tuple()): + super().__init__(name, arch, cflags, export_include_dirs, + has_reference_dump) self.src = relative_to_abs_path(src) self.dumper_flags = dumper_flags @@ -96,15 +99,16 @@ class SdumpModule(Module): def mutate_for_arch(self, target_arch): return SdumpModule(self.name, self.src, self.export_include_dirs, - self.cflags, target_arch, self.dumper_flags) + self.has_reference_dump, self.cflags, target_arch, + self.dumper_flags) class LsdumpModule(Module): def __init__(self, name, srcs, version_script, export_include_dirs, - cflags=tuple(), arch='', api='current', dumper_flags=tuple(), - linker_flags=tuple()): - super(LsdumpModule, self).__init__(name, arch, cflags, - export_include_dirs) + has_reference_dump=False, cflags=tuple(), arch='', + api='current', dumper_flags=tuple(), linker_flags=tuple()): + super().__init__(name, arch, cflags, export_include_dirs, + has_reference_dump) self.srcs = relative_to_abs_path_list(srcs) self.version_script = relative_to_abs_path(version_script) self.api = api @@ -140,8 +144,9 @@ class LsdumpModule(Module): def mutate_for_arch(self, target_arch): return LsdumpModule(self.name, self.srcs, self.version_script, - self.export_include_dirs, self.cflags, target_arch, - self.api, self.dumper_flags, self.linker_flags) + self.export_include_dirs, self.has_reference_dump, + self.cflags, target_arch, self.api, + self.dumper_flags, self.linker_flags) TEST_MODULES = [ @@ -153,6 +158,7 @@ TEST_MODULES = [ ], version_script='integration/c_and_cpp/map.txt', export_include_dirs=['integration/c_and_cpp/include'], + has_reference_dump=True, ), LsdumpModule( name='libc_and_cpp_with_opaque_ptr_a', @@ -183,6 +189,7 @@ TEST_MODULES = [ version_script='integration/c_and_cpp/map.txt', export_include_dirs=['integration/c_and_cpp/include'], cflags=['-DINCLUDE_UNUSED_STRUCTS=1'], + has_reference_dump=True, ), LsdumpModule( name='libc_and_cpp_with_unused_cstruct', @@ -203,6 +210,7 @@ TEST_MODULES = [ ], version_script='integration/cpp/gold/map.txt', export_include_dirs=['integration/cpp/gold/include'], + has_reference_dump=True, ), LsdumpModule( name='libgolden_cpp_odr', @@ -225,6 +233,7 @@ TEST_MODULES = [ version_script='integration/cpp/gold/map_add_function.txt', export_include_dirs=['integration/cpp/gold/include'], cflags=['-DGOLDEN_ADD_FUNCTION=1'], + has_reference_dump=True, ), LsdumpModule( name='libgolden_cpp_add_function_and_unexported_elf', @@ -248,6 +257,7 @@ TEST_MODULES = [ ], version_script='integration/cpp/gold/map_add_function.txt', export_include_dirs=['integration/cpp/gold/include'], + has_reference_dump=True, ), LsdumpModule( name='libgolden_cpp_change_function_access', @@ -270,6 +280,7 @@ TEST_MODULES = [ version_script='integration/cpp/gold/map_added_globvar.txt', export_include_dirs=['integration/cpp/gold/include'], cflags=['-DGOLDEN_ADD_GLOBVAR=1'], + has_reference_dump=True, ), LsdumpModule( name='libgolden_cpp_add_global_variable_private', @@ -407,6 +418,7 @@ TEST_MODULES = [ srcs=['integration/c_and_cpp/reproducability.c'], version_script='integration/c_and_cpp/repro_map.txt', export_include_dirs=['integration/c_and_cpp/include'], + has_reference_dump=True, ), LsdumpModule( name='libifunc', @@ -417,7 +429,8 @@ TEST_MODULES = [ '-so', relative_to_abs_path( 'integration/ifunc/prebuilts/libifunc.so' ), - ] + ], + has_reference_dump=True, ), LsdumpModule( name='libgolden_cpp_member_name_changed', @@ -492,6 +505,7 @@ TEST_MODULES = [ srcs=['integration/cpp/pure_virtual/pure_virtual_function.cpp'], export_include_dirs=['integration/cpp/pure_virtual/include'], version_script='', + has_reference_dump=True, ), LsdumpModule( name='libgolden_cpp_json', @@ -503,7 +517,8 @@ TEST_MODULES = [ version_script='integration/cpp/gold/map.txt', export_include_dirs=['integration/cpp/gold/include'], dumper_flags=['-output-format', 'Json'], - linker_flags=['-input-format', 'Json', '-output-format', 'Json'] + linker_flags=['-input-format', 'Json', '-output-format', 'Json'], + has_reference_dump=True, ), LsdumpModule( name='libversion_script_example', @@ -521,7 +536,8 @@ TEST_MODULES = [ 'integration/version_script_example/prebuilts/' + 'libversion_script_example.so' ), - ] + ], + has_reference_dump=True, ), LsdumpModule( name='libversion_script_example_no_private', @@ -540,7 +556,8 @@ TEST_MODULES = [ 'libversion_script_example.so' ), '--exclude-symbol-version', 'LIBVERSION_SCRIPT_EXAMPLE_PRIVATE', - ] + ], + has_reference_dump=True, ), LsdumpModule( name='libversion_script_example_no_mytag', @@ -559,7 +576,8 @@ TEST_MODULES = [ 'libversion_script_example.so' ), '--exclude-symbol-tag', 'mytag', - ] + ], + has_reference_dump=True, ), # Test data for test_allow_adding_removing_weak_symbols @@ -575,7 +593,8 @@ TEST_MODULES = [ linker_flags=[ '-input-format', 'Json', '-output-format', 'Json', - ] + ], + has_reference_dump=True, ), LsdumpModule( name='libweak_symbols_new', @@ -590,7 +609,8 @@ TEST_MODULES = [ '-input-format', 'Json', '-output-format', 'Json', ], - cflags=['-DNEW=1'] + cflags=['-DNEW=1'], + has_reference_dump=True, ), LsdumpModule( name='libempty', @@ -601,6 +621,7 @@ TEST_MODULES = [ linker_flags=[ '-output-format', 'Json', ], + has_reference_dump=True, ), LsdumpModule( name='libgolden_anonymous_enum', @@ -608,7 +629,8 @@ TEST_MODULES = [ srcs=['integration/cpp/anonymous_enum/include/golden.h'], version_script='', export_include_dirs=['integration/cpp/anonymous_enum/include'], - linker_flags=['-output-format', 'Json',], + linker_flags=['-output-format', 'Json'], + has_reference_dump=True, ), LsdumpModule( name='libswap_anonymous_enum', @@ -636,6 +658,7 @@ TEST_MODULES = [ version_script='', export_include_dirs=['integration/cpp/anonymous_enum/include'], linker_flags=['-output-format', 'Json'], + has_reference_dump=True, ), LsdumpModule( name='libmerge_multi_definitions', @@ -647,6 +670,7 @@ TEST_MODULES = [ version_script='integration/merge_multi_definitions/map.txt', export_include_dirs=['integration/merge_multi_definitions/include'], linker_flags=['-output-format', 'Json', '-sources-per-thread', '1'], + has_reference_dump=True, ), ] diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_function_access.so.lsdump deleted file mode 100644 index 1e199a092..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_function_access.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: private_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/arm/libgolden_cpp_change_member_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_member_access.so.lsdump deleted file mode 100644 index 35c3d75fa..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_member_access.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: private_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 96 - field_name: "speaker_float_star" - access: private_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/arm/libgolden_cpp_enum_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_enum_diff.so.lsdump deleted file mode 100644 index 2c8c40d97..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_enum_diff.so.lsdump +++ /dev/null @@ -1,451 +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: "_ZTIi" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: -1 - name: "SuperSpeaker::Loudest" - } - 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/arm/libgolden_cpp_enum_extended.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_enum_extended.so.lsdump deleted file mode 100644 index 79854ca3f..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_enum_extended.so.lsdump +++ /dev/null @@ -1,459 +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" - } - enum_fields { - enum_field_value: 5 - name: "SuperSpeaker::LouderThanLoudest" - } - 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/arm/libgolden_cpp_fake_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_fake_member_diff.so.lsdump deleted file mode 100644 index 38dbd172e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_fake_member_diff.so.lsdump +++ /dev/null @@ -1,413 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 8 - alignment: 4 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker" - } - fields { - referenced_type: "int" - field_offset: 32 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "SuperSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 8 - alignment: 4 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "HighVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 16 - alignment: 4 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker" - } - fields { - referenced_type: "char32_t" - field_offset: 64 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "float *" - field_offset: 96 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "LowVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker::Volume" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker::Volume" - } - underlying_type: "unsigned int" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Volume::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Volume::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Volume::Loudest" - } - enum_fields { - enum_field_value: 4 - name: "SuperSpeaker::Volume::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker *" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker *" - } -} -pointer_types { - type_info { - name: "float *" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "float *" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker *" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "int" - source_file: "" - linker_set_key: "int" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "unsigned int" - source_file: "" - linker_set_key: "unsigned int" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "void" - source_file: "" - linker_set_key: "void" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "" - linker_set_key: "float" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "char32_t" - size: 4 - alignment: 4 - referenced_type: "char32_t" - source_file: "" - linker_set_key: "char32_t" - } - is_unsigned: true - is_integral: true -} -functions { - return_type: "SuperSpeaker *" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "int" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "void" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "SuperSpeaker::Volume" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "HighVolumeSpeaker *" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - parameters { - referenced_type: "float" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_inheritance_type_changed.so.lsdump deleted file mode 100644 index 5441e8218..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_inheritance_type_changed.so.lsdump +++ /dev/null @@ -1,515 +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: 20 - 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: 32 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 64 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: true - access: public_access - } - vtable_layout { - vtable_components { - kind: VBaseOffset - mangled_component_name: "" - component_value: 12 - is_pure: false - } - 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 - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n12_N16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n16_N16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZTv0_n20_N16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZTv0_n20_N16LowVolumeSpeakerD0Ev" - 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/arm/libgolden_cpp_member_cv_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_cv_diff.so.lsdump deleted file mode 100644 index 601308007..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_cv_diff.so.lsdump +++ /dev/null @@ -1,469 +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: "_ZTIPKf" - field_offset: 96 - field_name: "const_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: "const float *" - size: 4 - alignment: 4 - referenced_type: "_ZTIKf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPKf" - self_type: "_ZTIPKf" - } -} -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 -} -qualified_types { - type_info { - name: "const 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: "_ZTIKf" - self_type: "_ZTIKf" - } - is_const: true - is_volatile: false - is_restricted: 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/arm/libgolden_cpp_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_diff.so.lsdump deleted file mode 100644 index 06961ed15..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_diff.so.lsdump +++ /dev/null @@ -1,468 +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: 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: "_ZTIx" - field_offset: 64 - field_name: "speaker_long_long" - access: public_access - } - fields { - referenced_type: "_ZTIPx" - field_offset: 128 - field_name: "speaker_long_long_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: "long long *" - size: 4 - alignment: 4 - referenced_type: "_ZTIx" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPx" - self_type: "_ZTIPx" - } -} -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 -} -builtin_types { - type_info { - name: "long long" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "" - linker_set_key: "_ZTIx" - self_type: "_ZTIx" - } - is_unsigned: false - is_integral: true -} -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/arm/libgolden_cpp_member_fake_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_fake_diff.so.lsdump deleted file mode 100644 index 8bed6d020..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_fake_diff.so.lsdump +++ /dev/null @@ -1,468 +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: "_ZTIDi" - 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: "char32_t" - size: 4 - alignment: 4 - referenced_type: "_ZTIDi" - source_file: "" - linker_set_key: "_ZTIDi" - self_type: "_ZTIDi" - } - is_unsigned: true - is_integral: true -} -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/arm/libgolden_cpp_member_integral_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_integral_type_diff.so.lsdump deleted file mode 100644 index 6ba28582e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_integral_type_diff.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: "_ZTIf" - field_offset: 64 - field_name: "speaker_float" - 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/arm/libgolden_cpp_member_name_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_name_changed.so.lsdump deleted file mode 100644 index 1b309e32e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_member_name_changed.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/arm/libgolden_cpp_parameter_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_parameter_type_diff.so.lsdump deleted file mode 100644 index f3d157c6d..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_parameter_type_diff.so.lsdump +++ /dev/null @@ -1,479 +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: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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/arm/libgolden_cpp_return_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_return_type_diff.so.lsdump deleted file mode 100644 index 99a18f994..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_return_type_diff.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: "_ZTIi" - 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: "_ZTIi" - 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/arm/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump deleted file mode 100644 index 7651a85d1..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump +++ /dev/null @@ -1,451 +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: "_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/arm/libgolden_cpp_vtable_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_vtable_diff.so.lsdump deleted file mode 100644 index cbe3ae301..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_vtable_diff.so.lsdump +++ /dev/null @@ -1,450 +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: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - 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: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - 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: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - 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" - 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/arm64/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_function_access.so.lsdump deleted file mode 100644 index bc609ddd9..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_function_access.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: private_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/arm64/libgolden_cpp_change_member_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_member_access.so.lsdump deleted file mode 100644 index ae744eba3..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_member_access.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: private_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 128 - field_name: "speaker_float_star" - access: private_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/arm64/libgolden_cpp_enum_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_enum_diff.so.lsdump deleted file mode 100644 index 5b8162a5b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_enum_diff.so.lsdump +++ /dev/null @@ -1,451 +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: "_ZTIi" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: -1 - name: "SuperSpeaker::Loudest" - } - 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/arm64/libgolden_cpp_enum_extended.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_enum_extended.so.lsdump deleted file mode 100644 index 3ac47c61b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_enum_extended.so.lsdump +++ /dev/null @@ -1,459 +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" - } - enum_fields { - enum_field_value: 5 - name: "SuperSpeaker::LouderThanLoudest" - } - 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/arm64/libgolden_cpp_fake_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_fake_member_diff.so.lsdump deleted file mode 100644 index ed3f918fc..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_fake_member_diff.so.lsdump +++ /dev/null @@ -1,413 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 16 - alignment: 8 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker" - } - fields { - referenced_type: "int" - field_offset: 64 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "SuperSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 16 - alignment: 8 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "HighVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 24 - alignment: 8 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker" - } - fields { - referenced_type: "char32_t" - field_offset: 96 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "float *" - field_offset: 128 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "LowVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker::Volume" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker::Volume" - } - underlying_type: "unsigned int" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Volume::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Volume::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Volume::Loudest" - } - enum_fields { - enum_field_value: 4 - name: "SuperSpeaker::Volume::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 8 - alignment: 8 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker *" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker *" - } -} -pointer_types { - type_info { - name: "float *" - size: 8 - alignment: 8 - referenced_type: "float" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "float *" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker *" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "int" - source_file: "" - linker_set_key: "int" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "unsigned int" - source_file: "" - linker_set_key: "unsigned int" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "void" - source_file: "" - linker_set_key: "void" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "" - linker_set_key: "float" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "char32_t" - size: 4 - alignment: 4 - referenced_type: "char32_t" - source_file: "" - linker_set_key: "char32_t" - } - is_unsigned: true - is_integral: true -} -functions { - return_type: "SuperSpeaker *" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "int" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "void" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "SuperSpeaker::Volume" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "HighVolumeSpeaker *" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - parameters { - referenced_type: "float" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_inheritance_type_changed.so.lsdump deleted file mode 100644 index fc447ab1f..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_inheritance_type_changed.so.lsdump +++ /dev/null @@ -1,515 +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: 40 - 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: 64 - 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: true - access: public_access - } - vtable_layout { - vtable_components { - kind: VBaseOffset - mangled_component_name: "" - component_value: 24 - is_pure: false - } - 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 - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n24_N16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n32_N16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZTv0_n40_N16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZTv0_n40_N16LowVolumeSpeakerD0Ev" - 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/arm64/libgolden_cpp_member_cv_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_cv_diff.so.lsdump deleted file mode 100644 index f0218d371..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_cv_diff.so.lsdump +++ /dev/null @@ -1,469 +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: "_ZTIPKf" - field_offset: 128 - field_name: "const_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: "const float *" - size: 8 - alignment: 8 - referenced_type: "_ZTIKf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPKf" - self_type: "_ZTIPKf" - } -} -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 -} -qualified_types { - type_info { - name: "const 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: "_ZTIKf" - self_type: "_ZTIKf" - } - is_const: true - is_volatile: false - is_restricted: 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/arm64/libgolden_cpp_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_diff.so.lsdump deleted file mode 100644 index ba7f51a6b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_diff.so.lsdump +++ /dev/null @@ -1,468 +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: 32 - 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: "_ZTIx" - field_offset: 128 - field_name: "speaker_long_long" - access: public_access - } - fields { - referenced_type: "_ZTIPx" - field_offset: 192 - field_name: "speaker_long_long_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: "long long *" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPx" - self_type: "_ZTIPx" - } -} -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 -} -builtin_types { - type_info { - name: "long long" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "" - linker_set_key: "_ZTIx" - self_type: "_ZTIx" - } - is_unsigned: false - is_integral: true -} -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/arm64/libgolden_cpp_member_fake_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_fake_diff.so.lsdump deleted file mode 100644 index cd47f1590..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_fake_diff.so.lsdump +++ /dev/null @@ -1,468 +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: "_ZTIDi" - 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: "char32_t" - size: 4 - alignment: 4 - referenced_type: "_ZTIDi" - source_file: "" - linker_set_key: "_ZTIDi" - self_type: "_ZTIDi" - } - is_unsigned: true - is_integral: true -} -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/arm64/libgolden_cpp_member_integral_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_integral_type_diff.so.lsdump deleted file mode 100644 index 239f88a81..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_integral_type_diff.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: "_ZTIf" - field_offset: 96 - field_name: "speaker_float" - 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/arm64/libgolden_cpp_member_name_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_name_changed.so.lsdump deleted file mode 100644 index f5ede60d6..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_member_name_changed.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/arm64/libgolden_cpp_parameter_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_parameter_type_diff.so.lsdump deleted file mode 100644 index d4be52cdd..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_parameter_type_diff.so.lsdump +++ /dev/null @@ -1,479 +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: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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/arm64/libgolden_cpp_return_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_return_type_diff.so.lsdump deleted file mode 100644 index 834c600e2..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_return_type_diff.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: "_ZTIi" - 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: "_ZTIi" - 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/arm64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump deleted file mode 100644 index f840c63a0..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump +++ /dev/null @@ -1,451 +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: "_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/arm64/libgolden_cpp_vtable_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_vtable_diff.so.lsdump deleted file mode 100644 index 42e0e9f67..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_vtable_diff.so.lsdump +++ /dev/null @@ -1,450 +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: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - 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: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - 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: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - 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" - 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_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_function_access.so.lsdump deleted file mode 100644 index 1e199a092..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_function_access.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: private_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_change_member_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_member_access.so.lsdump deleted file mode 100644 index 35c3d75fa..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_member_access.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: private_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 96 - field_name: "speaker_float_star" - access: private_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_enum_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_enum_diff.so.lsdump deleted file mode 100644 index 2c8c40d97..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_enum_diff.so.lsdump +++ /dev/null @@ -1,451 +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: "_ZTIi" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: -1 - name: "SuperSpeaker::Loudest" - } - 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_enum_extended.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_enum_extended.so.lsdump deleted file mode 100644 index 79854ca3f..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_enum_extended.so.lsdump +++ /dev/null @@ -1,459 +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" - } - enum_fields { - enum_field_value: 5 - name: "SuperSpeaker::LouderThanLoudest" - } - 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_fake_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_fake_member_diff.so.lsdump deleted file mode 100644 index 38dbd172e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_fake_member_diff.so.lsdump +++ /dev/null @@ -1,413 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 8 - alignment: 4 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker" - } - fields { - referenced_type: "int" - field_offset: 32 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "SuperSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 8 - alignment: 4 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "HighVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 16 - alignment: 4 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker" - } - fields { - referenced_type: "char32_t" - field_offset: 64 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "float *" - field_offset: 96 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "LowVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker::Volume" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker::Volume" - } - underlying_type: "unsigned int" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Volume::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Volume::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Volume::Loudest" - } - enum_fields { - enum_field_value: 4 - name: "SuperSpeaker::Volume::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker *" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker *" - } -} -pointer_types { - type_info { - name: "float *" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "float *" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker *" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "int" - source_file: "" - linker_set_key: "int" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "unsigned int" - source_file: "" - linker_set_key: "unsigned int" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "void" - source_file: "" - linker_set_key: "void" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "" - linker_set_key: "float" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "char32_t" - size: 4 - alignment: 4 - referenced_type: "char32_t" - source_file: "" - linker_set_key: "char32_t" - } - is_unsigned: true - is_integral: true -} -functions { - return_type: "SuperSpeaker *" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "int" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "void" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "SuperSpeaker::Volume" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "HighVolumeSpeaker *" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - parameters { - referenced_type: "float" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_inheritance_type_changed.so.lsdump deleted file mode 100644 index 5441e8218..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_inheritance_type_changed.so.lsdump +++ /dev/null @@ -1,515 +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: 20 - 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: 32 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 64 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: true - access: public_access - } - vtable_layout { - vtable_components { - kind: VBaseOffset - mangled_component_name: "" - component_value: 12 - is_pure: false - } - 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 - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n12_N16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n16_N16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZTv0_n20_N16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZTv0_n20_N16LowVolumeSpeakerD0Ev" - 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_member_cv_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_cv_diff.so.lsdump deleted file mode 100644 index 601308007..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_cv_diff.so.lsdump +++ /dev/null @@ -1,469 +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: "_ZTIPKf" - field_offset: 96 - field_name: "const_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: "const float *" - size: 4 - alignment: 4 - referenced_type: "_ZTIKf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPKf" - self_type: "_ZTIPKf" - } -} -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 -} -qualified_types { - type_info { - name: "const 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: "_ZTIKf" - self_type: "_ZTIKf" - } - is_const: true - is_volatile: false - is_restricted: 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_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_diff.so.lsdump deleted file mode 100644 index 06961ed15..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_diff.so.lsdump +++ /dev/null @@ -1,468 +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: 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: "_ZTIx" - field_offset: 64 - field_name: "speaker_long_long" - access: public_access - } - fields { - referenced_type: "_ZTIPx" - field_offset: 128 - field_name: "speaker_long_long_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: "long long *" - size: 4 - alignment: 4 - referenced_type: "_ZTIx" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPx" - self_type: "_ZTIPx" - } -} -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 -} -builtin_types { - type_info { - name: "long long" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "" - linker_set_key: "_ZTIx" - self_type: "_ZTIx" - } - is_unsigned: false - is_integral: true -} -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_member_fake_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_fake_diff.so.lsdump deleted file mode 100644 index 8bed6d020..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_fake_diff.so.lsdump +++ /dev/null @@ -1,468 +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: "_ZTIDi" - 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: "char32_t" - size: 4 - alignment: 4 - referenced_type: "_ZTIDi" - source_file: "" - linker_set_key: "_ZTIDi" - self_type: "_ZTIDi" - } - is_unsigned: true - is_integral: true -} -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_member_integral_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_integral_type_diff.so.lsdump deleted file mode 100644 index 6ba28582e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_integral_type_diff.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: "_ZTIf" - field_offset: 64 - field_name: "speaker_float" - 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_member_name_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_name_changed.so.lsdump deleted file mode 100644 index 1b309e32e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_member_name_changed.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_parameter_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_parameter_type_diff.so.lsdump deleted file mode 100644 index f3d157c6d..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_parameter_type_diff.so.lsdump +++ /dev/null @@ -1,479 +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: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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_return_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_return_type_diff.so.lsdump deleted file mode 100644 index 99a18f994..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_return_type_diff.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: "_ZTIi" - 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: "_ZTIi" - 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_unreferenced_elf_symbol_removed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump deleted file mode 100644 index 7651a85d1..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump +++ /dev/null @@ -1,451 +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: "_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_vtable_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_vtable_diff.so.lsdump deleted file mode 100644 index cbe3ae301..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_vtable_diff.so.lsdump +++ /dev/null @@ -1,450 +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: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - 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: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - 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: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - 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" - 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_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_function_access.so.lsdump deleted file mode 100644 index bc609ddd9..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_function_access.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: private_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_change_member_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_member_access.so.lsdump deleted file mode 100644 index ae744eba3..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_member_access.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: private_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 128 - field_name: "speaker_float_star" - access: private_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_enum_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_enum_diff.so.lsdump deleted file mode 100644 index 5b8162a5b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_enum_diff.so.lsdump +++ /dev/null @@ -1,451 +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: "_ZTIi" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: -1 - name: "SuperSpeaker::Loudest" - } - 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_enum_extended.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_enum_extended.so.lsdump deleted file mode 100644 index 3ac47c61b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_enum_extended.so.lsdump +++ /dev/null @@ -1,459 +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" - } - enum_fields { - enum_field_value: 5 - name: "SuperSpeaker::LouderThanLoudest" - } - 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_fake_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_fake_member_diff.so.lsdump deleted file mode 100644 index ed3f918fc..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_fake_member_diff.so.lsdump +++ /dev/null @@ -1,413 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 16 - alignment: 8 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker" - } - fields { - referenced_type: "int" - field_offset: 64 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "SuperSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 16 - alignment: 8 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "HighVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 24 - alignment: 8 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker" - } - fields { - referenced_type: "char32_t" - field_offset: 96 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "float *" - field_offset: 128 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "LowVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker::Volume" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker::Volume" - } - underlying_type: "unsigned int" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Volume::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Volume::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Volume::Loudest" - } - enum_fields { - enum_field_value: 4 - name: "SuperSpeaker::Volume::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 8 - alignment: 8 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker *" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker *" - } -} -pointer_types { - type_info { - name: "float *" - size: 8 - alignment: 8 - referenced_type: "float" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "float *" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker *" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "int" - source_file: "" - linker_set_key: "int" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "unsigned int" - source_file: "" - linker_set_key: "unsigned int" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "void" - source_file: "" - linker_set_key: "void" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "" - linker_set_key: "float" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "char32_t" - size: 4 - alignment: 4 - referenced_type: "char32_t" - source_file: "" - linker_set_key: "char32_t" - } - is_unsigned: true - is_integral: true -} -functions { - return_type: "SuperSpeaker *" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "int" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "void" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "SuperSpeaker::Volume" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "HighVolumeSpeaker *" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - parameters { - referenced_type: "float" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_inheritance_type_changed.so.lsdump deleted file mode 100644 index fc447ab1f..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_inheritance_type_changed.so.lsdump +++ /dev/null @@ -1,515 +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: 40 - 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: 64 - 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: true - access: public_access - } - vtable_layout { - vtable_components { - kind: VBaseOffset - mangled_component_name: "" - component_value: 24 - is_pure: false - } - 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 - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n24_N16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n32_N16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZTv0_n40_N16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZTv0_n40_N16LowVolumeSpeakerD0Ev" - 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_member_cv_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_cv_diff.so.lsdump deleted file mode 100644 index f0218d371..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_cv_diff.so.lsdump +++ /dev/null @@ -1,469 +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: "_ZTIPKf" - field_offset: 128 - field_name: "const_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: "const float *" - size: 8 - alignment: 8 - referenced_type: "_ZTIKf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPKf" - self_type: "_ZTIPKf" - } -} -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 -} -qualified_types { - type_info { - name: "const 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: "_ZTIKf" - self_type: "_ZTIKf" - } - is_const: true - is_volatile: false - is_restricted: 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_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_diff.so.lsdump deleted file mode 100644 index ba7f51a6b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_diff.so.lsdump +++ /dev/null @@ -1,468 +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: 32 - 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: "_ZTIx" - field_offset: 128 - field_name: "speaker_long_long" - access: public_access - } - fields { - referenced_type: "_ZTIPx" - field_offset: 192 - field_name: "speaker_long_long_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: "long long *" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPx" - self_type: "_ZTIPx" - } -} -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 -} -builtin_types { - type_info { - name: "long long" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "" - linker_set_key: "_ZTIx" - self_type: "_ZTIx" - } - is_unsigned: false - is_integral: true -} -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_member_fake_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_fake_diff.so.lsdump deleted file mode 100644 index cd47f1590..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_fake_diff.so.lsdump +++ /dev/null @@ -1,468 +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: "_ZTIDi" - 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: "char32_t" - size: 4 - alignment: 4 - referenced_type: "_ZTIDi" - source_file: "" - linker_set_key: "_ZTIDi" - self_type: "_ZTIDi" - } - is_unsigned: true - is_integral: true -} -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_member_integral_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_integral_type_diff.so.lsdump deleted file mode 100644 index 239f88a81..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_integral_type_diff.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: "_ZTIf" - field_offset: 96 - field_name: "speaker_float" - 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_member_name_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_name_changed.so.lsdump deleted file mode 100644 index f5ede60d6..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_member_name_changed.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_parameter_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_parameter_type_diff.so.lsdump deleted file mode 100644 index d4be52cdd..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_parameter_type_diff.so.lsdump +++ /dev/null @@ -1,479 +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: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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_return_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_return_type_diff.so.lsdump deleted file mode 100644 index 834c600e2..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_return_type_diff.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: "_ZTIi" - 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: "_ZTIi" - 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_unreferenced_elf_symbol_removed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump deleted file mode 100644 index f840c63a0..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump +++ /dev/null @@ -1,451 +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: "_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_vtable_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_vtable_diff.so.lsdump deleted file mode 100644 index 42e0e9f67..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_vtable_diff.so.lsdump +++ /dev/null @@ -1,450 +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: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - 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: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - 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: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - 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" - 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/x86/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_function_access.so.lsdump deleted file mode 100644 index 1e199a092..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_function_access.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: private_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/x86/libgolden_cpp_change_member_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_member_access.so.lsdump deleted file mode 100644 index 35c3d75fa..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_member_access.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: private_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 96 - field_name: "speaker_float_star" - access: private_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/x86/libgolden_cpp_enum_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_enum_diff.so.lsdump deleted file mode 100644 index 2c8c40d97..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_enum_diff.so.lsdump +++ /dev/null @@ -1,451 +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: "_ZTIi" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: -1 - name: "SuperSpeaker::Loudest" - } - 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/x86/libgolden_cpp_enum_extended.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_enum_extended.so.lsdump deleted file mode 100644 index 79854ca3f..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_enum_extended.so.lsdump +++ /dev/null @@ -1,459 +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" - } - enum_fields { - enum_field_value: 5 - name: "SuperSpeaker::LouderThanLoudest" - } - 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/x86/libgolden_cpp_fake_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_fake_member_diff.so.lsdump deleted file mode 100644 index 38dbd172e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_fake_member_diff.so.lsdump +++ /dev/null @@ -1,413 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 8 - alignment: 4 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker" - } - fields { - referenced_type: "int" - field_offset: 32 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "SuperSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 8 - alignment: 4 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "HighVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 16 - alignment: 4 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker" - } - fields { - referenced_type: "char32_t" - field_offset: 64 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "float *" - field_offset: 96 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "LowVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker::Volume" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker::Volume" - } - underlying_type: "unsigned int" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Volume::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Volume::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Volume::Loudest" - } - enum_fields { - enum_field_value: 4 - name: "SuperSpeaker::Volume::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker *" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker *" - } -} -pointer_types { - type_info { - name: "float *" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "float *" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 4 - alignment: 4 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker *" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "int" - source_file: "" - linker_set_key: "int" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "unsigned int" - source_file: "" - linker_set_key: "unsigned int" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "void" - source_file: "" - linker_set_key: "void" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "" - linker_set_key: "float" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "char32_t" - size: 4 - alignment: 4 - referenced_type: "char32_t" - source_file: "" - linker_set_key: "char32_t" - } - is_unsigned: true - is_integral: true -} -functions { - return_type: "SuperSpeaker *" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "int" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "void" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "SuperSpeaker::Volume" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "HighVolumeSpeaker *" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - parameters { - referenced_type: "float" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_inheritance_type_changed.so.lsdump deleted file mode 100644 index 5441e8218..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_inheritance_type_changed.so.lsdump +++ /dev/null @@ -1,515 +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: 20 - 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: 32 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 64 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "_ZTI12SuperSpeaker" - is_virtual: true - access: public_access - } - vtable_layout { - vtable_components { - kind: VBaseOffset - mangled_component_name: "" - component_value: 12 - is_pure: false - } - 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 - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: -12 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n12_N16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n16_N16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZTv0_n20_N16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZTv0_n20_N16LowVolumeSpeakerD0Ev" - 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/x86/libgolden_cpp_member_cv_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_cv_diff.so.lsdump deleted file mode 100644 index 601308007..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_cv_diff.so.lsdump +++ /dev/null @@ -1,469 +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: "_ZTIPKf" - field_offset: 96 - field_name: "const_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: "const float *" - size: 4 - alignment: 4 - referenced_type: "_ZTIKf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPKf" - self_type: "_ZTIPKf" - } -} -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 -} -qualified_types { - type_info { - name: "const 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: "_ZTIKf" - self_type: "_ZTIKf" - } - is_const: true - is_volatile: false - is_restricted: 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/x86/libgolden_cpp_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_diff.so.lsdump deleted file mode 100644 index 123816174..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_diff.so.lsdump +++ /dev/null @@ -1,468 +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: 20 - 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: "_ZTIx" - field_offset: 64 - field_name: "speaker_long_long" - access: public_access - } - fields { - referenced_type: "_ZTIPx" - field_offset: 128 - field_name: "speaker_long_long_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: "long long *" - size: 4 - alignment: 4 - referenced_type: "_ZTIx" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPx" - self_type: "_ZTIPx" - } -} -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 -} -builtin_types { - type_info { - name: "long long" - size: 8 - alignment: 4 - referenced_type: "_ZTIx" - source_file: "" - linker_set_key: "_ZTIx" - self_type: "_ZTIx" - } - is_unsigned: false - is_integral: true -} -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/x86/libgolden_cpp_member_fake_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_fake_diff.so.lsdump deleted file mode 100644 index 8bed6d020..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_fake_diff.so.lsdump +++ /dev/null @@ -1,468 +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: "_ZTIDi" - 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: "char32_t" - size: 4 - alignment: 4 - referenced_type: "_ZTIDi" - source_file: "" - linker_set_key: "_ZTIDi" - self_type: "_ZTIDi" - } - is_unsigned: true - is_integral: true -} -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/x86/libgolden_cpp_member_integral_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_integral_type_diff.so.lsdump deleted file mode 100644 index 6ba28582e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_integral_type_diff.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: "_ZTIf" - field_offset: 64 - field_name: "speaker_float" - 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/x86/libgolden_cpp_member_name_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_name_changed.so.lsdump deleted file mode 100644 index 1b309e32e..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_member_name_changed.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/x86/libgolden_cpp_parameter_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_parameter_type_diff.so.lsdump deleted file mode 100644 index f3d157c6d..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_parameter_type_diff.so.lsdump +++ /dev/null @@ -1,479 +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: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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/x86/libgolden_cpp_return_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_return_type_diff.so.lsdump deleted file mode 100644 index 99a18f994..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_return_type_diff.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: "_ZTIi" - 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: "_ZTIi" - 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/x86/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump deleted file mode 100644 index 7651a85d1..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump +++ /dev/null @@ -1,451 +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: "_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/x86/libgolden_cpp_vtable_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_vtable_diff.so.lsdump deleted file mode 100644 index cbe3ae301..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_vtable_diff.so.lsdump +++ /dev/null @@ -1,450 +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: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - 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: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - 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: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - 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" - 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/x86_64/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_change_function_access.so.lsdump deleted file mode 100644 index bc609ddd9..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_change_function_access.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: private_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/x86_64/libgolden_cpp_change_member_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_change_member_access.so.lsdump deleted file mode 100644 index ae744eba3..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_change_member_access.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: private_access - } - fields { - referenced_type: "_ZTIPf" - field_offset: 128 - field_name: "speaker_float_star" - access: private_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/x86_64/libgolden_cpp_enum_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_enum_diff.so.lsdump deleted file mode 100644 index 5b8162a5b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_enum_diff.so.lsdump +++ /dev/null @@ -1,451 +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: "_ZTIi" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Louder" - } - enum_fields { - enum_field_value: -1 - name: "SuperSpeaker::Loudest" - } - 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/x86_64/libgolden_cpp_enum_extended.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_enum_extended.so.lsdump deleted file mode 100644 index 3ac47c61b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_enum_extended.so.lsdump +++ /dev/null @@ -1,459 +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" - } - enum_fields { - enum_field_value: 5 - name: "SuperSpeaker::LouderThanLoudest" - } - 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/x86_64/libgolden_cpp_fake_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_fake_member_diff.so.lsdump deleted file mode 100644 index ed3f918fc..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_fake_member_diff.so.lsdump +++ /dev/null @@ -1,413 +0,0 @@ -record_types { - type_info { - name: "SuperSpeaker" - size: 16 - alignment: 8 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker" - } - fields { - referenced_type: "int" - field_offset: 64 - field_name: "mSpeakderId" - access: private_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "SuperSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN12SuperSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "HighVolumeSpeaker" - size: 16 - alignment: 8 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker" - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "HighVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN17HighVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -record_types { - type_info { - name: "LowVolumeSpeaker" - size: 24 - alignment: 8 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker" - } - fields { - referenced_type: "char32_t" - field_offset: 96 - field_name: "speaker_uint_t" - access: public_access - } - fields { - referenced_type: "float *" - field_offset: 128 - field_name: "speaker_float_star" - access: public_access - } - base_specifiers { - referenced_type: "SuperSpeaker" - is_virtual: false - access: public_access - } - vtable_layout { - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: 0 - } - vtable_components { - kind: RTTI - mangled_component_name: "LowVolumeSpeaker" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - component_value: 0 - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD1Ev" - component_value: 0 - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZN16LowVolumeSpeakerD0Ev" - component_value: 0 - } - } - access: public_access - record_kind: class_kind -} -enum_types { - type_info { - name: "SuperSpeaker::Volume" - size: 4 - alignment: 4 - referenced_type: "SuperSpeaker::Volume" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker::Volume" - } - underlying_type: "unsigned int" - enum_fields { - enum_field_value: 1 - name: "SuperSpeaker::Volume::Loud" - } - enum_fields { - enum_field_value: 2 - name: "SuperSpeaker::Volume::Louder" - } - enum_fields { - enum_field_value: 3 - name: "SuperSpeaker::Volume::Loudest" - } - enum_fields { - enum_field_value: 4 - name: "SuperSpeaker::Volume::Lower" - } - access: private_access -} -pointer_types { - type_info { - name: "SuperSpeaker *" - size: 8 - alignment: 8 - referenced_type: "SuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - linker_set_key: "SuperSpeaker *" - } -} -pointer_types { - type_info { - name: "HighVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "HighVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - linker_set_key: "HighVolumeSpeaker *" - } -} -pointer_types { - type_info { - name: "float *" - size: 8 - alignment: 8 - referenced_type: "float" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "float *" - } -} -pointer_types { - type_info { - name: "LowVolumeSpeaker *" - size: 8 - alignment: 8 - referenced_type: "LowVolumeSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "LowVolumeSpeaker *" - } -} -builtin_types { - type_info { - name: "int" - size: 4 - alignment: 4 - referenced_type: "int" - source_file: "" - linker_set_key: "int" - } - is_unsigned: false - is_integral: true -} -builtin_types { - type_info { - name: "unsigned int" - size: 4 - alignment: 4 - referenced_type: "unsigned int" - source_file: "" - linker_set_key: "unsigned int" - } - is_unsigned: true - is_integral: true -} -builtin_types { - type_info { - name: "void" - size: 0 - alignment: 0 - referenced_type: "void" - source_file: "" - linker_set_key: "void" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "float" - size: 4 - alignment: 4 - referenced_type: "float" - source_file: "" - linker_set_key: "float" - } - is_unsigned: false - is_integral: false -} -builtin_types { - type_info { - name: "char32_t" - size: 4 - alignment: 4 - referenced_type: "char32_t" - source_file: "" - linker_set_key: "char32_t" - } - is_unsigned: true - is_integral: true -} -functions { - return_type: "SuperSpeaker *" - function_name: "SuperSpeaker::CreateSuperSpeaker" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "int" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" - access: public_access -} -functions { - return_type: "void" - function_name: "SuperSpeaker::SpeakLouder" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker11SpeakLouderEv" - access: public_access -} -functions { - return_type: "SuperSpeaker::Volume" - function_name: "SuperSpeaker::SpeakLoud" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/abstract_class.h" - parameters { - referenced_type: "SuperSpeaker *" - default_arg: false - } - linker_set_key: "_ZN12SuperSpeaker9SpeakLoudEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "HighVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker6ListenEv" - access: public_access -} -functions { - return_type: "HighVolumeSpeaker *" - function_name: "HighVolumeSpeaker::BadPractice" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/high_volume_speaker.h" - parameters { - referenced_type: "HighVolumeSpeaker *" - default_arg: false - } - parameters { - referenced_type: "float" - default_arg: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEf" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Speak" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker5SpeakEv" - access: public_access -} -functions { - return_type: "void" - function_name: "LowVolumeSpeaker::Listen" - source_file: "/development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - parameters { - referenced_type: "LowVolumeSpeaker *" - default_arg: false - } - linker_set_key: "_ZN16LowVolumeSpeaker6ListenEv" - access: public_access -} -elf_functions { - name: "_Z26test_virtual_function_callP12SuperSpeaker" -} -elf_functions { - name: "_ZN12SuperSpeaker11SpeakLouderEv" -} -elf_functions { - name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" -} -elf_functions { - name: "_ZN12SuperSpeaker9SpeakLoudEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN16LowVolumeSpeaker6ListenEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker11BadPracticeEf" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker5SpeakEv" -} -elf_functions { - name: "_ZN17HighVolumeSpeaker6ListenEv" -} -elf_objects { - name: "_ZTV16LowVolumeSpeaker" -} -elf_objects { - name: "_ZTV17HighVolumeSpeaker" -} diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_inheritance_type_changed.so.lsdump deleted file mode 100644 index fc447ab1f..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_inheritance_type_changed.so.lsdump +++ /dev/null @@ -1,515 +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: 40 - 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: 64 - 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: true - access: public_access - } - vtable_layout { - vtable_components { - kind: VBaseOffset - mangled_component_name: "" - component_value: 24 - is_pure: false - } - 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 - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: VCallOffset - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: OffsetToTop - mangled_component_name: "" - component_value: -24 - is_pure: false - } - vtable_components { - kind: RTTI - mangled_component_name: "_ZTI16LowVolumeSpeaker" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n24_N16LowVolumeSpeaker5SpeakEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZTv0_n32_N16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: CompleteDtorPointer - mangled_component_name: "_ZTv0_n40_N16LowVolumeSpeakerD1Ev" - component_value: 0 - is_pure: false - } - vtable_components { - kind: DeletingDtorPointer - mangled_component_name: "_ZTv0_n40_N16LowVolumeSpeakerD0Ev" - 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/x86_64/libgolden_cpp_member_cv_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_cv_diff.so.lsdump deleted file mode 100644 index f0218d371..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_cv_diff.so.lsdump +++ /dev/null @@ -1,469 +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: "_ZTIPKf" - field_offset: 128 - field_name: "const_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: "const float *" - size: 8 - alignment: 8 - referenced_type: "_ZTIKf" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPKf" - self_type: "_ZTIPKf" - } -} -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 -} -qualified_types { - type_info { - name: "const 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: "_ZTIKf" - self_type: "_ZTIKf" - } - is_const: true - is_volatile: false - is_restricted: 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/x86_64/libgolden_cpp_member_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_diff.so.lsdump deleted file mode 100644 index ba7f51a6b..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_diff.so.lsdump +++ /dev/null @@ -1,468 +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: 32 - 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: "_ZTIx" - field_offset: 128 - field_name: "speaker_long_long" - access: public_access - } - fields { - referenced_type: "_ZTIPx" - field_offset: 192 - field_name: "speaker_long_long_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: "long long *" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "development/vndk/tools/header-checker/tests/integration/cpp/gold/include/low_volume_speaker.h" - linker_set_key: "_ZTIPx" - self_type: "_ZTIPx" - } -} -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 -} -builtin_types { - type_info { - name: "long long" - size: 8 - alignment: 8 - referenced_type: "_ZTIx" - source_file: "" - linker_set_key: "_ZTIx" - self_type: "_ZTIx" - } - is_unsigned: false - is_integral: true -} -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/x86_64/libgolden_cpp_member_fake_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_fake_diff.so.lsdump deleted file mode 100644 index cd47f1590..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_fake_diff.so.lsdump +++ /dev/null @@ -1,468 +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: "_ZTIDi" - 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: "char32_t" - size: 4 - alignment: 4 - referenced_type: "_ZTIDi" - source_file: "" - linker_set_key: "_ZTIDi" - self_type: "_ZTIDi" - } - is_unsigned: true - is_integral: true -} -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/x86_64/libgolden_cpp_member_integral_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_integral_type_diff.so.lsdump deleted file mode 100644 index 239f88a81..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_integral_type_diff.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: "_ZTIf" - field_offset: 96 - field_name: "speaker_float" - 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/x86_64/libgolden_cpp_member_name_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_name_changed.so.lsdump deleted file mode 100644 index f5ede60d6..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_member_name_changed.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/x86_64/libgolden_cpp_parameter_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_parameter_type_diff.so.lsdump deleted file mode 100644 index d4be52cdd..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_parameter_type_diff.so.lsdump +++ /dev/null @@ -1,479 +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: "_ZTIi" - default_arg: false - is_this_ptr: false - } - linker_set_key: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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: "_ZN17HighVolumeSpeaker11BadPracticeEi" - 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/x86_64/libgolden_cpp_return_type_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_return_type_diff.so.lsdump deleted file mode 100644 index 834c600e2..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_return_type_diff.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: "_ZTIi" - 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: "_ZTIi" - 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/x86_64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump deleted file mode 100644 index f840c63a0..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_unreferenced_elf_symbol_removed.so.lsdump +++ /dev/null @@ -1,451 +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: "_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/x86_64/libgolden_cpp_vtable_diff.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_vtable_diff.so.lsdump deleted file mode 100644 index 42e0e9f67..000000000 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_vtable_diff.so.lsdump +++ /dev/null @@ -1,450 +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: "_ZN12SuperSpeaker6ListenEv" - component_value: 0 - is_pure: true - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN12SuperSpeaker5SpeakEv" - 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: "_ZN16LowVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN16LowVolumeSpeaker5SpeakEv" - 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: "_ZN17HighVolumeSpeaker6ListenEv" - component_value: 0 - is_pure: false - } - vtable_components { - kind: FunctionPointer - mangled_component_name: "_ZN17HighVolumeSpeaker5SpeakEv" - 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" - 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/test.py b/vndk/tools/header-checker/tests/test.py index 238e801df..9d31d40b5 100755 --- a/vndk/tools/header-checker/tests/test.py +++ b/vndk/tools/header-checker/tests/test.py @@ -22,8 +22,8 @@ EXPORTED_HEADER_DIRS = (INPUT_DIR,) REF_DUMP_DIR = os.path.join(SCRIPT_DIR, 'reference_dumps') -def make_and_copy_reference_dumps(module, reference_dump_dir=REF_DUMP_DIR): - dump_dir = os.path.join(reference_dump_dir, module.arch) +def make_and_copy_dump(module, dump_dir): + dump_dir = os.path.join(dump_dir, module.arch) os.makedirs(dump_dir, exist_ok=True) dump_path = os.path.join(dump_dir, module.get_dump_name()) module.make_dump(dump_path) @@ -87,9 +87,12 @@ class HeaderCheckerTest(unittest.TestCase): 'test', target_arch, expected_return_code, flags) - def get_or_create_ref_dump(self, module, create): + def get_or_create_dump(self, module, create): if create: - return make_and_copy_reference_dumps(module, self.get_tmp_dir()) + return make_and_copy_dump(module, self.get_tmp_dir()) + self.assertTrue(module.has_reference_dump, + f'Module {module.name} is not configured to generate ' + f'reference dump.') return os.path.join(REF_DUMP_DIR, module.arch, module.get_dump_name()) def prepare_and_run_abi_diff_all_archs(self, old_lib, new_lib, @@ -101,12 +104,10 @@ class HeaderCheckerTest(unittest.TestCase): for old_module, new_module in zip(old_modules, new_modules): self.assertEqual(old_module.arch, new_module.arch) - old_ref_dump_path = self.get_or_create_ref_dump(old_module, - create_old) - new_ref_dump_path = self.get_or_create_ref_dump(new_module, - create_new) + old_dump_path = self.get_or_create_dump(old_module, create_old) + new_dump_path = self.get_or_create_dump(new_module, create_new) self.prepare_and_run_abi_diff( - old_ref_dump_path, new_ref_dump_path, new_module.arch, + old_dump_path, new_dump_path, new_module.arch, expected_return_code, flags) def prepare_and_absolute_diff_all_archs(self, old_lib, new_lib): @@ -116,10 +117,10 @@ class HeaderCheckerTest(unittest.TestCase): for old_module, new_module in zip(old_modules, new_modules): self.assertEqual(old_module.arch, new_module.arch) - old_ref_dump_path = self.get_or_create_ref_dump(old_module, False) - new_ref_dump_path = self.get_or_create_ref_dump(new_module, True) - self.assertEqual(_read_output_content(old_ref_dump_path), - _read_output_content(new_ref_dump_path)) + old_dump_path = self.get_or_create_dump(old_module, False) + new_dump_path = self.get_or_create_dump(new_module, True) + self.assertEqual(_read_output_content(old_dump_path), + _read_output_content(new_dump_path)) def test_example1_cpp(self): self.run_and_compare_name_cpp('example1.cpp') @@ -310,8 +311,8 @@ class HeaderCheckerTest(unittest.TestCase): def test_allow_adding_removing_weak_symbols(self): module_old = Module.get_test_modules_by_name("libweak_symbols_old")[0] module_new = Module.get_test_modules_by_name("libweak_symbols_new")[0] - lsdump_old = self.get_or_create_ref_dump(module_old, False) - lsdump_new = self.get_or_create_ref_dump(module_new, False) + lsdump_old = self.get_or_create_dump(module_old, False) + lsdump_new = self.get_or_create_dump(module_new, False) options = ["-input-format-old", "Json", "-input-format-new", "Json"] @@ -338,8 +339,8 @@ class HeaderCheckerTest(unittest.TestCase): for module_name in cases: module = Module.get_test_modules_by_name(module_name)[0] - example_lsdump_old = self.get_or_create_ref_dump(module, False) - example_lsdump_new = self.get_or_create_ref_dump(module, True) + example_lsdump_old = self.get_or_create_dump(module, False) + example_lsdump_new = self.get_or_create_dump(module, True) self.run_and_compare_abi_diff( example_lsdump_old, example_lsdump_new, module_name, "arm64", 0,