diff --git a/vndk/tools/header-checker/header-abi-linker/src/header_abi_linker.cpp b/vndk/tools/header-checker/header-abi-linker/src/header_abi_linker.cpp index b57f6d337..648861c33 100644 --- a/vndk/tools/header-checker/header-abi-linker/src/header_abi_linker.cpp +++ b/vndk/tools/header-checker/header-abi-linker/src/header_abi_linker.cpp @@ -90,13 +90,16 @@ class HeaderAbiLinker { bool LinkAndDump(); private: - template + template bool LinkDecl(abi_util::IRDumper *dst, - std::set *link_set, - std::set *regex_matched_link_set, - const std::regex *vs_regex, - const abi_util::AbiElementMap &src, - bool use_version_script); + std::map *link_map, + std::set *regex_matched_link_set, + const std::regex *vs_regex, + const abi_util::AbiElementMap &src, + bool use_version_script); + + template + bool LinkDecl(abi_util::IRDumper *dst, const abi_util::AbiElementMap &src); bool ParseVersionScriptFiles(); @@ -124,9 +127,8 @@ class HeaderAbiLinker { const std::string &api_; // TODO: Add to a map of std::sets instead. std::set exported_headers_; - std::set types_set_; - std::set function_decl_set_; - std::set globvar_decl_set_; + std::map function_decl_map_; + std::map globvar_decl_map_; // Version Script Regex Matching. std::set functions_regex_matched_set; std::regex functions_vs_regex_; @@ -135,11 +137,11 @@ class HeaderAbiLinker { std::regex globvars_vs_regex_; }; -template -static bool AddElfSymbols(abi_util::IRDumper *dst, const Iterable &symbols) { +template +static bool AddElfSymbols(abi_util::IRDumper *dst, + const std::map &symbols) { for (auto &&symbol : symbols) { - T elf_symbol(symbol); - if (!dst->AddElfSymbolMessageIR(&elf_symbol)) { + if (!dst->AddElfSymbolMessageIR(&(symbol.second))) { return false; } } @@ -148,10 +150,8 @@ static bool AddElfSymbols(abi_util::IRDumper *dst, const Iterable &symbols) { // To be called right after parsing the .so file / version script. bool HeaderAbiLinker::AddElfSymbols(abi_util::IRDumper *ir_dumper) { - return ::AddElfSymbols(ir_dumper, - function_decl_set_) && - ::AddElfSymbols(ir_dumper, - globvar_decl_set_); + return ::AddElfSymbols(ir_dumper, function_decl_map_) && + ::AddElfSymbols(ir_dumper, globvar_decl_map_); } static void DeDuplicateAbiElementsThread( @@ -273,35 +273,34 @@ static std::regex CreateRegexMatchExprFromSet( return std::regex(all_regex_match_str); } -template +template bool HeaderAbiLinker::LinkDecl( - abi_util::IRDumper *dst, std::set *link_set, + abi_util::IRDumper *dst, std::map *link_map, std::set *regex_matched_link_set, const std::regex *vs_regex, - const abi_util::AbiElementMap &src, bool use_version_script_or_so) { + const abi_util::AbiElementMap &src, bool use_version_script_or_so) { assert(dst != nullptr); - assert(link_set != nullptr); for (auto &&element : src) { // If we are not using a version script and exported headers are available, // filter out unexported abi. std::string source_file = element.second.GetSourceFile(); // Builtin types will not have source file information. if (!exported_headers_.empty() && !source_file.empty() && - exported_headers_.find(source_file) == - exported_headers_.end()) { + exported_headers_.find(source_file) == exported_headers_.end()) { continue; } const std::string &element_str = element.first; // Check for the existence of the element in linked dump / symbol file. if (use_version_script_or_so) { - std::set::iterator it = - link_set->find(element_str); - if (it == link_set->end()) { + assert(link_map != nullptr); + typename std::map::iterator it = + link_map->find(element_str); + if (it == link_map->end()) { if (!QueryRegexMatches(regex_matched_link_set, vs_regex, element_str)) { continue; } } else { // We get a pre-filled link name set while using version script. - link_set->erase(*it); // Avoid multiple instances of the same symbol. + link_map->erase(it); // Avoid multiple instances of the same symbol. } } if (!dst->AddLinkableMessageIR(&(element.second))) { @@ -312,30 +311,40 @@ bool HeaderAbiLinker::LinkDecl( return true; } +template +bool HeaderAbiLinker::LinkDecl(abi_util::IRDumper *dst, + const abi_util::AbiElementMap &src) { + assert(dst != nullptr); + for (auto &&element : src) { + // If we are not using a version script and exported headers are available, + // filter out unexported abi. + std::string source_file = element.second.GetSourceFile(); + // Builtin types will not have source file information. + if (!exported_headers_.empty() && !source_file.empty() && + exported_headers_.find(source_file) == exported_headers_.end()) { + continue; + } + if (!dst->AddLinkableMessageIR(&(element.second))) { + llvm::errs() << "Failed to add element to linked dump\n"; + return false; + } + } + return true; +} + bool HeaderAbiLinker::LinkTypes(const abi_util::TextFormatToIRReader *reader, abi_util::IRDumper *ir_dumper) { assert(reader != nullptr); assert(ir_dumper != nullptr); - // Even if version scripts are available we take in types, since the symbols - // in the version script might reference a type exposed by the library. - return LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetRecordTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetEnumTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, nullptr, - reader->GetFunctionTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetBuiltinTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetPointerTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetRvalueReferenceTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetLvalueReferenceTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetArrayTypes(), false) && - LinkDecl(ir_dumper, &types_set_, nullptr, - nullptr, reader->GetQualifiedTypes(), false); + return LinkDecl(ir_dumper, reader->GetRecordTypes()) && + LinkDecl(ir_dumper, reader->GetEnumTypes()) && + LinkDecl(ir_dumper, reader->GetFunctionTypes()) && + LinkDecl(ir_dumper, reader->GetBuiltinTypes()) && + LinkDecl(ir_dumper, reader->GetPointerTypes()) && + LinkDecl(ir_dumper, reader->GetRvalueReferenceTypes()) && + LinkDecl(ir_dumper, reader->GetLvalueReferenceTypes()) && + LinkDecl(ir_dumper, reader->GetArrayTypes()) && + LinkDecl(ir_dumper, reader->GetQualifiedTypes()); } bool HeaderAbiLinker::LinkFunctions( @@ -343,7 +352,7 @@ bool HeaderAbiLinker::LinkFunctions( abi_util::IRDumper *ir_dumper) { assert(reader != nullptr); - return LinkDecl(ir_dumper, &function_decl_set_, + return LinkDecl(ir_dumper, &function_decl_map_, &functions_regex_matched_set, &functions_vs_regex_, reader->GetFunctions(), (!version_script_.empty() || !so_file_.empty())); @@ -354,7 +363,7 @@ bool HeaderAbiLinker::LinkGlobalVars( abi_util::IRDumper *ir_dumper) { assert(reader != nullptr); - return LinkDecl(ir_dumper, &globvar_decl_set_, + return LinkDecl(ir_dumper, &globvar_decl_map_, &globvars_regex_matched_set, &globvars_vs_regex_, reader->GetGlobalVariables(), (!version_script.empty() || !so_file_.empty())); @@ -367,8 +376,8 @@ bool HeaderAbiLinker::ParseVersionScriptFiles() { llvm::errs() << "Failed to parse version script\n"; return false; } - function_decl_set_ = version_script_parser.GetFunctions(); - globvar_decl_set_ = version_script_parser.GetGlobVars(); + function_decl_map_ = version_script_parser.GetFunctions(); + globvar_decl_map_ = version_script_parser.GetGlobVars(); std::set function_regexs = version_script_parser.GetFunctionRegexs(); std::set globvar_regexs = @@ -379,7 +388,7 @@ bool HeaderAbiLinker::ParseVersionScriptFiles() { } bool HeaderAbiLinker::ParseSoFile() { - auto Binary = llvm::object::createBinary(so_file_); + auto Binary = llvm::object::createBinary(so_file_); if (!Binary) { llvm::errs() << "Couldn't really create object File \n"; @@ -399,8 +408,8 @@ bool HeaderAbiLinker::ParseSoFile() { return false; } so_parser->GetSymbols(); - function_decl_set_ = so_parser->GetFunctions(); - globvar_decl_set_ = so_parser->GetGlobVars(); + function_decl_map_ = so_parser->GetFunctions(); + globvar_decl_map_ = so_parser->GetGlobVars(); return true; } diff --git a/vndk/tools/header-checker/header-abi-util/include/header_abi_util.h b/vndk/tools/header-checker/header-abi-util/include/header_abi_util.h index aa5602f5d..5fbc19729 100644 --- a/vndk/tools/header-checker/header-abi-util/include/header_abi_util.h +++ b/vndk/tools/header-checker/header-abi-util/include/header_abi_util.h @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include + #include #include #include @@ -50,9 +52,9 @@ class VersionScriptParser { const std::string &api); bool Parse(); - const std::set &GetFunctions(); + const std::map &GetFunctions(); - const std::set &GetGlobVars(); + const std::map &GetGlobVars(); const std::set &GetFunctionRegexs(); @@ -81,8 +83,8 @@ class VersionScriptParser { private: const std::string &version_script_; const std::string &arch_; - std::set functions_; - std::set globvars_; + std::map functions_; + std::map globvars_; // Added to speed up version script parsing and linking. std::set function_regexs_; std::set globvar_regexs_; @@ -102,8 +104,8 @@ inline std::string FindAndReplace(const std::string &candidate_str, class SoFileParser { public: static std::unique_ptr Create(const ObjectFile *obj); - virtual const std::set &GetFunctions() const = 0; - virtual const std::set &GetGlobVars() const = 0; + virtual const std::map &GetFunctions() const = 0; + virtual const std::map &GetGlobVars() const = 0; virtual ~SoFileParser() {}; virtual void GetSymbols() = 0; }; @@ -111,9 +113,9 @@ public: template class ELFSoFileParser : public SoFileParser { public: - const std::set &GetFunctions() const override; + const std::map &GetFunctions() const override; - const std::set &GetGlobVars() const override; + const std::map &GetGlobVars() const override; LLVM_ELF_IMPORT_TYPES_ELFT(T) typedef ELFFile ELFO; @@ -124,8 +126,8 @@ class ELFSoFileParser : public SoFileParser { void GetSymbols() override; private: const ELFObjectFile *obj_; - std::set functions_; - std::set globvars_; + std::map functions_; + std::map globvars_; private: bool IsSymbolExported(const Elf_Sym *elf_sym) const; diff --git a/vndk/tools/header-checker/header-abi-util/include/ir_representation.h b/vndk/tools/header-checker/header-abi-util/include/ir_representation.h index 39a3672c6..450c3ceec 100644 --- a/vndk/tools/header-checker/header-abi-util/include/ir_representation.h +++ b/vndk/tools/header-checker/header-abi-util/include/ir_representation.h @@ -702,14 +702,30 @@ class ElfSymbolIR { public: enum ElfSymbolKind { ElfFunctionKind, - ElfObjectKind + ElfObjectKind, + }; + + enum ElfSymbolBinding { + Weak, + Global, + }; + + enum ElfSymbolVisibility { + Default, + Protected, }; const std::string GetName() const { return name_; } - ElfSymbolIR(const std::string &name) : name_(name) { } + ElfSymbolBinding GetBinding() const { + return binding_; + } + + + ElfSymbolIR(const std::string &name, ElfSymbolBinding binding) + : name_(name), binding_(binding) { } virtual ElfSymbolKind GetKind() const = 0; @@ -717,15 +733,17 @@ class ElfSymbolIR { protected: std::string name_; + ElfSymbolBinding binding_; }; -class ElfFunctionIR : public ElfSymbolIR{ +class ElfFunctionIR : public ElfSymbolIR { public: ElfSymbolKind GetKind() const override { return ElfFunctionKind; } - ElfFunctionIR(const std::string &name) : ElfSymbolIR(name) { } + ElfFunctionIR(const std::string &name, ElfSymbolBinding binding) + : ElfSymbolIR(name, binding) { } }; class ElfObjectIR : public ElfSymbolIR { @@ -734,7 +752,8 @@ class ElfObjectIR : public ElfSymbolIR { return ElfObjectKind; } - ElfObjectIR(const std::string &name) : ElfSymbolIR(name) { } + ElfObjectIR(const std::string &name, ElfSymbolBinding binding) + : ElfSymbolIR(name, binding) { } }; class IRDumper { diff --git a/vndk/tools/header-checker/header-abi-util/include/ir_representation_protobuf.h b/vndk/tools/header-checker/header-abi-util/include/ir_representation_protobuf.h index 2408ea36e..db841c845 100644 --- a/vndk/tools/header-checker/header-abi-util/include/ir_representation_protobuf.h +++ b/vndk/tools/header-checker/header-abi-util/include/ir_representation_protobuf.h @@ -44,6 +44,31 @@ inline abi_diff::CompatibilityStatus CompatibilityStatusIRToProtobuf( return abi_diff::CompatibilityStatus::COMPATIBLE; } +inline abi_dump::ElfSymbolBinding ElfSymbolBindingIRToProtobuf( + ElfSymbolIR::ElfSymbolBinding binding) { + switch(binding) { + case ElfSymbolIR::ElfSymbolBinding::Global: + return abi_dump::ElfSymbolBinding::Global; + case ElfSymbolIR::ElfSymbolBinding::Weak: + return abi_dump::ElfSymbolBinding::Weak; + } + // We skip symbols of all other Bindings + // TODO: Add all bindings, don't leave out info + assert(0); +} + +inline ElfSymbolIR::ElfSymbolBinding ElfSymbolBindingProtobufToIR( + abi_dump::ElfSymbolBinding binding) { + switch(binding) { + case abi_dump::ElfSymbolBinding::Global: + return ElfSymbolIR::ElfSymbolBinding::Global; + case abi_dump::ElfSymbolBinding::Weak: + return ElfSymbolIR::ElfSymbolBinding::Weak; + } + // We skip symbols of all other Bindings + assert(0); +} + inline abi_dump::AccessSpecifier AccessIRToProtobuf(AccessSpecifierIR access) { switch (access) { case AccessSpecifierIR::ProtectedAccess: diff --git a/vndk/tools/header-checker/header-abi-util/src/ir_representation_protobuf.cpp b/vndk/tools/header-checker/header-abi-util/src/ir_representation_protobuf.cpp index 93d61c71a..c9738b8de 100644 --- a/vndk/tools/header-checker/header-abi-util/src/ir_representation_protobuf.cpp +++ b/vndk/tools/header-checker/header-abi-util/src/ir_representation_protobuf.cpp @@ -367,7 +367,9 @@ void ProtobufTextFormatToIRReader::ReadEnumTypes( void ProtobufTextFormatToIRReader::ReadElfFunctions( const abi_dump::TranslationUnit &tu) { for (auto &&elf_function : tu.elf_functions()) { - ElfFunctionIR elf_function_ir(elf_function.name()); + ElfFunctionIR elf_function_ir( + elf_function.name(), + ElfSymbolBindingProtobufToIR(elf_function.binding())); elf_functions_.insert( {elf_function_ir.GetName(), std::move(elf_function_ir)}); } @@ -376,7 +378,8 @@ void ProtobufTextFormatToIRReader::ReadElfFunctions( void ProtobufTextFormatToIRReader::ReadElfObjects( const abi_dump::TranslationUnit &tu) { for (auto &&elf_object : tu.elf_objects()) { - ElfObjectIR elf_object_ir(elf_object.name()); + ElfObjectIR elf_object_ir( + elf_object.name(), ElfSymbolBindingProtobufToIR(elf_object.binding())); elf_objects_.insert( {elf_object_ir.GetName(), std::move(elf_object_ir)}); } @@ -621,7 +624,7 @@ static bool SetIRToProtobufEnumField( } bool IRToProtobufConverter::AddEnumFields(abi_dump::EnumType *enum_protobuf, - const EnumTypeIR *enum_ir) { + const EnumTypeIR *enum_ir) { for (auto &&field : enum_ir->GetFields()) { abi_dump::EnumFieldDecl *enum_fieldp = enum_protobuf->add_enum_fields(); if (!SetIRToProtobufEnumField(enum_fieldp, &field)) { @@ -1025,6 +1028,8 @@ bool ProtobufIRDumper::AddElfFunctionIR(const ElfFunctionIR *elf_function) { return false; } added_elf_function->set_name(elf_function->GetName()); + added_elf_function->set_binding( + ElfSymbolBindingIRToProtobuf(elf_function->GetBinding())); return true; } @@ -1034,6 +1039,8 @@ bool ProtobufIRDumper::AddElfObjectIR(const ElfObjectIR *elf_object) { return false; } added_elf_object->set_name(elf_object->GetName()); + added_elf_object->set_binding( + ElfSymbolBindingIRToProtobuf(elf_object->GetBinding())); return true; } @@ -1508,4 +1515,4 @@ bool ProtobufIRDiffDumper::Dump() { return google::protobuf::TextFormat::Print(*diff_tu_.get(), &text_os); } -} //abi_util +} // namespace abi_util diff --git a/vndk/tools/header-checker/header-abi-util/src/so_file_parser.cpp b/vndk/tools/header-checker/header-abi-util/src/so_file_parser.cpp index 14a90a280..b004706b4 100644 --- a/vndk/tools/header-checker/header-abi-util/src/so_file_parser.cpp +++ b/vndk/tools/header-checker/header-abi-util/src/so_file_parser.cpp @@ -13,6 +13,7 @@ // limitations under the License. #include +#include #include #include @@ -44,24 +45,34 @@ static inline T UnWrap(llvm::Expected ValueOrError) { } template -const std::set &ELFSoFileParser::GetFunctions() const { +const std::map & +ELFSoFileParser::GetFunctions() const { return functions_; } template -const std::set &ELFSoFileParser::GetGlobVars() const { +const std::map & +ELFSoFileParser::GetGlobVars() const { return globvars_; } template bool ELFSoFileParser::IsSymbolExported(const Elf_Sym *elf_sym) const { - unsigned char visibility = elf_sym->getVisibility(); unsigned char binding = elf_sym->getBinding(); - return (binding == STB_GLOBAL || binding == STB_WEAK) && - (visibility == STV_DEFAULT || - visibility == STV_PROTECTED); + (visibility == STV_DEFAULT || visibility == STV_PROTECTED); +} + +static abi_util::ElfSymbolIR::ElfSymbolBinding +LLVMToIRSymbolBinding(unsigned char binding) { + switch (binding) { + case STB_GLOBAL: + return abi_util::ElfSymbolIR::ElfSymbolBinding::Global; + case STB_WEAK: + return abi_util::ElfSymbolIR::ElfSymbolBinding::Weak; + } + assert(0); } template @@ -74,12 +85,15 @@ void ELFSoFileParser::GetSymbols() { if (!IsSymbolExported(elf_sym) || elf_sym->isUndefined()) { continue; } + abi_util::ElfSymbolIR::ElfSymbolBinding symbol_binding = + LLVMToIRSymbolBinding(elf_sym->getBinding()); llvm::object::SymbolRef::Type type = UnWrap(symbol_it.getType()); std::string symbol_name = UnWrap(symbol_it.getName()); if (type == llvm::object::SymbolRef::Type::ST_Function) { - functions_.insert(symbol_name); + functions_.emplace(symbol_name, + ElfFunctionIR(symbol_name, symbol_binding)); } else if (type == llvm::object::SymbolRef::Type::ST_Data) { - globvars_.insert(symbol_name); + globvars_.emplace(symbol_name, ElfObjectIR(symbol_name, symbol_binding)); } } } diff --git a/vndk/tools/header-checker/header-abi-util/src/version_script_parser.cpp b/vndk/tools/header-checker/header-abi-util/src/version_script_parser.cpp index 4eb4ebd80..f973cebb7 100644 --- a/vndk/tools/header-checker/header-abi-util/src/version_script_parser.cpp +++ b/vndk/tools/header-checker/header-abi-util/src/version_script_parser.cpp @@ -106,7 +106,8 @@ void VersionScriptParser::AddToVars(std::string &symbol) { if (symbol.find("*") != std::string::npos) { globvar_regexs_.insert(symbol); } else { - globvars_.insert(symbol); + globvars_.emplace( + symbol, ElfObjectIR(symbol, ElfSymbolIR::ElfSymbolBinding::Global)); } } @@ -114,7 +115,8 @@ void VersionScriptParser::AddToFunctions(std::string &symbol) { if (symbol.find("*") != std::string::npos) { function_regexs_.insert(symbol); } else { - functions_.insert(symbol); + functions_.emplace( + symbol, ElfFunctionIR(symbol, ElfSymbolIR::ElfSymbolBinding::Global)); } } @@ -169,11 +171,12 @@ bool VersionScriptParser::ParseInnerBlock(std::ifstream &symbol_ifstream) { return true; } -const std::set &VersionScriptParser::GetFunctions() { +const std::map & +VersionScriptParser::GetFunctions() { return functions_; } -const std::set &VersionScriptParser::GetGlobVars() { +const std::map &VersionScriptParser::GetGlobVars() { return globvars_; } diff --git a/vndk/tools/header-checker/proto/abi_dump.proto b/vndk/tools/header-checker/proto/abi_dump.proto index 82d1c2432..c9aa6e2de 100644 --- a/vndk/tools/header-checker/proto/abi_dump.proto +++ b/vndk/tools/header-checker/proto/abi_dump.proto @@ -160,12 +160,19 @@ message GlobalVarDecl { optional AccessSpecifier access = 5 [default = public_access]; } +enum ElfSymbolBinding { + Global = 1; + Weak = 2; +} + message ElfFunction { optional string name = 1; + optional ElfSymbolBinding binding = 2; } message ElfObject { optional string name = 1; + optional ElfSymbolBinding binding = 2; } message TranslationUnit { diff --git a/vndk/tools/header-checker/proto/abi_dump_pb2.py b/vndk/tools/header-checker/proto/abi_dump_pb2.py index e3941486c..b6c1dcfb8 100644 --- a/vndk/tools/header-checker/proto/abi_dump_pb2.py +++ b/vndk/tools/header-checker/proto/abi_dump_pb2.py @@ -20,7 +20,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( package='abi_dump', syntax='proto2', serialized_options=None, - serialized_pb=_b('\n\x0e\x61\x62i_dump.proto\x12\x08\x61\x62i_dump\"\xa6\x01\n\x16\x42\x61sicNamedAndTypedDecl\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x04size\x18\x02 \x01(\x04:\x01\x30\x12\x14\n\talignment\x18\x03 \x01(\r:\x01\x30\x12\x17\n\x0freferenced_type\x18\x04 \x01(\t\x12\x13\n\x0bsource_file\x18\x05 \x01(\t\x12\x16\n\x0elinker_set_key\x18\x06 \x01(\t\x12\x11\n\tself_type\x18\x07 \x01(\t\"@\n\tArrayType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"B\n\x0bPointerType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"\x82\x01\n\rQualifiedType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x10\n\x08is_const\x18\x06 \x01(\x08\x12\x13\n\x0bis_volatile\x18\x07 \x01(\x08\x12\x15\n\ris_restricted\x18\x08 \x01(\x08\"l\n\x0b\x42uiltinType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x13\n\x0bis_unsigned\x18\x02 \x01(\x08\x12\x13\n\x0bis_integral\x18\x03 \x01(\x08\"J\n\x13LvalueReferenceType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"J\n\x13RvalueReferenceType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"\x81\x01\n\x0c\x46unctionType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x13\n\x0breturn_type\x18\x02 \x01(\t\x12\'\n\nparameters\x18\x03 \x03(\x0b\x32\x13.abi_dump.ParamDecl\"\xf9\x01\n\x0c\x46unctionDecl\x12\x13\n\x0breturn_type\x18\x01 \x01(\t\x12\x15\n\rfunction_name\x18\x02 \x01(\t\x12\x13\n\x0bsource_file\x18\x03 \x01(\t\x12\'\n\nparameters\x18\x04 \x03(\x0b\x32\x13.abi_dump.ParamDecl\x12-\n\rtemplate_info\x18\x05 \x01(\x0b\x32\x16.abi_dump.TemplateInfo\x12\x16\n\x0elinker_set_key\x18\x06 \x01(\t\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x07 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\"N\n\tParamDecl\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65\x66\x61ult_arg\x18\x02 \x01(\x08\x12\x13\n\x0bis_this_ptr\x18\x03 \x01(\x08\"\x8e\x01\n\x0fRecordFieldDecl\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\x12\x14\n\x0c\x66ield_offset\x18\x02 \x01(\x04\x12\x12\n\nfield_name\x18\x03 \x01(\t\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\"7\n\rEnumFieldDecl\x12\x18\n\x10\x65num_field_value\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x03 \x01(\t\";\n\x0cTemplateInfo\x12+\n\x08\x65lements\x18\x01 \x03(\x0b\x32\x19.abi_dump.TemplateElement\"*\n\x0fTemplateElement\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\"j\n\x10\x43XXBaseSpecifier\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\x12\x12\n\nis_virtual\x18\x02 \x01(\x08\x12)\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier\"\xcf\x02\n\x0fVTableComponent\x12,\n\x04kind\x18\x01 \x01(\x0e\x32\x1e.abi_dump.VTableComponent.Kind\x12 \n\x16mangled_component_name\x18\x02 \x01(\t:\x00\x12\x10\n\x05value\x18\x03 \x01(\x04:\x01\x30\x12\x1a\n\x0f\x63omponent_value\x18\x04 \x01(\x03:\x01\x30\x12\x16\n\x07is_pure\x18\x06 \x01(\x08:\x05\x66\x61lse\"\xa5\x01\n\x04Kind\x12\x0f\n\x0bVCallOffset\x10\x00\x12\x0f\n\x0bVBaseOffset\x10\x01\x12\x0f\n\x0bOffsetToTop\x10\x02\x12\x08\n\x04RTTI\x10\x03\x12\x13\n\x0f\x46unctionPointer\x10\x04\x12\x17\n\x13\x43ompleteDtorPointer\x10\x05\x12\x17\n\x13\x44\x65letingDtorPointer\x10\x06\x12\x19\n\x15UnusedFunctionPointer\x10\x07\"D\n\x0cVTableLayout\x12\x34\n\x11vtable_components\x18\x01 \x03(\x0b\x32\x19.abi_dump.VTableComponent\"\x1e\n\x07TagType\x12\x13\n\tunique_id\x18\x01 \x01(\t:\x00\"\xac\x03\n\nRecordType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12)\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x19.abi_dump.RecordFieldDecl\x12\x33\n\x0f\x62\x61se_specifiers\x18\x03 \x03(\x0b\x32\x1a.abi_dump.CXXBaseSpecifier\x12-\n\rtemplate_info\x18\x05 \x01(\x0b\x32\x16.abi_dump.TemplateInfo\x12-\n\rvtable_layout\x18\x07 \x01(\x0b\x32\x16.abi_dump.VTableLayout\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x08 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\x12\x14\n\x0cis_anonymous\x18\t \x01(\x08\x12\x36\n\x0brecord_kind\x18\n \x01(\x0e\x32\x14.abi_dump.RecordKind:\x0bstruct_kind\x12#\n\x08tag_info\x18\x0b \x01(\x0b\x32\x11.abi_dump.TagType\"\xe5\x01\n\x08\x45numType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x17\n\x0funderlying_type\x18\x02 \x01(\t\x12,\n\x0b\x65num_fields\x18\x03 \x03(\x0b\x32\x17.abi_dump.EnumFieldDecl\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\x12#\n\x08tag_info\x18\x05 \x01(\x0b\x32\x11.abi_dump.TagType\"\x9d\x01\n\rGlobalVarDecl\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bsource_file\x18\x02 \x01(\t\x12\x16\n\x0elinker_set_key\x18\x03 \x01(\t\x12\x17\n\x0freferenced_type\x18\x04 \x01(\t\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\"\x1b\n\x0b\x45lfFunction\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x19\n\tElfObject\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xfc\x04\n\x0fTranslationUnit\x12*\n\x0crecord_types\x18\x01 \x03(\x0b\x32\x14.abi_dump.RecordType\x12&\n\nenum_types\x18\x02 \x03(\x0b\x32\x12.abi_dump.EnumType\x12,\n\rpointer_types\x18\x03 \x03(\x0b\x32\x15.abi_dump.PointerType\x12=\n\x16lvalue_reference_types\x18\x04 \x03(\x0b\x32\x1d.abi_dump.LvalueReferenceType\x12=\n\x16rvalue_reference_types\x18\x05 \x03(\x0b\x32\x1d.abi_dump.RvalueReferenceType\x12,\n\rbuiltin_types\x18\x06 \x03(\x0b\x32\x15.abi_dump.BuiltinType\x12\x30\n\x0fqualified_types\x18\x07 \x03(\x0b\x32\x17.abi_dump.QualifiedType\x12(\n\x0b\x61rray_types\x18\x08 \x03(\x0b\x32\x13.abi_dump.ArrayType\x12.\n\x0e\x66unction_types\x18\r \x03(\x0b\x32\x16.abi_dump.FunctionType\x12)\n\tfunctions\x18\t \x03(\x0b\x32\x16.abi_dump.FunctionDecl\x12,\n\x0bglobal_vars\x18\n \x03(\x0b\x32\x17.abi_dump.GlobalVarDecl\x12,\n\relf_functions\x18\x0b \x03(\x0b\x32\x15.abi_dump.ElfFunction\x12(\n\x0b\x65lf_objects\x18\x0c \x03(\x0b\x32\x13.abi_dump.ElfObject*N\n\x0f\x41\x63\x63\x65ssSpecifier\x12\x11\n\rpublic_access\x10\x01\x12\x12\n\x0eprivate_access\x10\x02\x12\x14\n\x10protected_access\x10\x03*=\n\nRecordKind\x12\x0f\n\x0bstruct_kind\x10\x01\x12\x0e\n\nclass_kind\x10\x02\x12\x0e\n\nunion_kind\x10\x03') + serialized_pb=_b('\n\x0e\x61\x62i_dump.proto\x12\x08\x61\x62i_dump\"\xa6\x01\n\x16\x42\x61sicNamedAndTypedDecl\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x04size\x18\x02 \x01(\x04:\x01\x30\x12\x14\n\talignment\x18\x03 \x01(\r:\x01\x30\x12\x17\n\x0freferenced_type\x18\x04 \x01(\t\x12\x13\n\x0bsource_file\x18\x05 \x01(\t\x12\x16\n\x0elinker_set_key\x18\x06 \x01(\t\x12\x11\n\tself_type\x18\x07 \x01(\t\"@\n\tArrayType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"B\n\x0bPointerType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"\x82\x01\n\rQualifiedType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x10\n\x08is_const\x18\x06 \x01(\x08\x12\x13\n\x0bis_volatile\x18\x07 \x01(\x08\x12\x15\n\ris_restricted\x18\x08 \x01(\x08\"l\n\x0b\x42uiltinType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x13\n\x0bis_unsigned\x18\x02 \x01(\x08\x12\x13\n\x0bis_integral\x18\x03 \x01(\x08\"J\n\x13LvalueReferenceType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"J\n\x13RvalueReferenceType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\"\x81\x01\n\x0c\x46unctionType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x13\n\x0breturn_type\x18\x02 \x01(\t\x12\'\n\nparameters\x18\x03 \x03(\x0b\x32\x13.abi_dump.ParamDecl\"\xf9\x01\n\x0c\x46unctionDecl\x12\x13\n\x0breturn_type\x18\x01 \x01(\t\x12\x15\n\rfunction_name\x18\x02 \x01(\t\x12\x13\n\x0bsource_file\x18\x03 \x01(\t\x12\'\n\nparameters\x18\x04 \x03(\x0b\x32\x13.abi_dump.ParamDecl\x12-\n\rtemplate_info\x18\x05 \x01(\x0b\x32\x16.abi_dump.TemplateInfo\x12\x16\n\x0elinker_set_key\x18\x06 \x01(\t\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x07 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\"N\n\tParamDecl\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65\x66\x61ult_arg\x18\x02 \x01(\x08\x12\x13\n\x0bis_this_ptr\x18\x03 \x01(\x08\"\x8e\x01\n\x0fRecordFieldDecl\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\x12\x14\n\x0c\x66ield_offset\x18\x02 \x01(\x04\x12\x12\n\nfield_name\x18\x03 \x01(\t\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\"7\n\rEnumFieldDecl\x12\x18\n\x10\x65num_field_value\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x03 \x01(\t\";\n\x0cTemplateInfo\x12+\n\x08\x65lements\x18\x01 \x03(\x0b\x32\x19.abi_dump.TemplateElement\"*\n\x0fTemplateElement\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\"j\n\x10\x43XXBaseSpecifier\x12\x17\n\x0freferenced_type\x18\x01 \x01(\t\x12\x12\n\nis_virtual\x18\x02 \x01(\x08\x12)\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier\"\xcf\x02\n\x0fVTableComponent\x12,\n\x04kind\x18\x01 \x01(\x0e\x32\x1e.abi_dump.VTableComponent.Kind\x12 \n\x16mangled_component_name\x18\x02 \x01(\t:\x00\x12\x10\n\x05value\x18\x03 \x01(\x04:\x01\x30\x12\x1a\n\x0f\x63omponent_value\x18\x04 \x01(\x03:\x01\x30\x12\x16\n\x07is_pure\x18\x06 \x01(\x08:\x05\x66\x61lse\"\xa5\x01\n\x04Kind\x12\x0f\n\x0bVCallOffset\x10\x00\x12\x0f\n\x0bVBaseOffset\x10\x01\x12\x0f\n\x0bOffsetToTop\x10\x02\x12\x08\n\x04RTTI\x10\x03\x12\x13\n\x0f\x46unctionPointer\x10\x04\x12\x17\n\x13\x43ompleteDtorPointer\x10\x05\x12\x17\n\x13\x44\x65letingDtorPointer\x10\x06\x12\x19\n\x15UnusedFunctionPointer\x10\x07\"D\n\x0cVTableLayout\x12\x34\n\x11vtable_components\x18\x01 \x03(\x0b\x32\x19.abi_dump.VTableComponent\"\x1e\n\x07TagType\x12\x13\n\tunique_id\x18\x01 \x01(\t:\x00\"\xac\x03\n\nRecordType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12)\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x19.abi_dump.RecordFieldDecl\x12\x33\n\x0f\x62\x61se_specifiers\x18\x03 \x03(\x0b\x32\x1a.abi_dump.CXXBaseSpecifier\x12-\n\rtemplate_info\x18\x05 \x01(\x0b\x32\x16.abi_dump.TemplateInfo\x12-\n\rvtable_layout\x18\x07 \x01(\x0b\x32\x16.abi_dump.VTableLayout\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x08 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\x12\x14\n\x0cis_anonymous\x18\t \x01(\x08\x12\x36\n\x0brecord_kind\x18\n \x01(\x0e\x32\x14.abi_dump.RecordKind:\x0bstruct_kind\x12#\n\x08tag_info\x18\x0b \x01(\x0b\x32\x11.abi_dump.TagType\"\xe5\x01\n\x08\x45numType\x12\x33\n\ttype_info\x18\x01 \x01(\x0b\x32 .abi_dump.BasicNamedAndTypedDecl\x12\x17\n\x0funderlying_type\x18\x02 \x01(\t\x12,\n\x0b\x65num_fields\x18\x03 \x03(\x0b\x32\x17.abi_dump.EnumFieldDecl\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\x12#\n\x08tag_info\x18\x05 \x01(\x0b\x32\x11.abi_dump.TagType\"\x9d\x01\n\rGlobalVarDecl\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bsource_file\x18\x02 \x01(\t\x12\x16\n\x0elinker_set_key\x18\x03 \x01(\t\x12\x17\n\x0freferenced_type\x18\x04 \x01(\t\x12\x38\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\x0e\x32\x19.abi_dump.AccessSpecifier:\rpublic_access\"H\n\x0b\x45lfFunction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12+\n\x07\x62inding\x18\x02 \x01(\x0e\x32\x1a.abi_dump.ElfSymbolBinding\"F\n\tElfObject\x12\x0c\n\x04name\x18\x01 \x01(\t\x12+\n\x07\x62inding\x18\x02 \x01(\x0e\x32\x1a.abi_dump.ElfSymbolBinding\"\xfc\x04\n\x0fTranslationUnit\x12*\n\x0crecord_types\x18\x01 \x03(\x0b\x32\x14.abi_dump.RecordType\x12&\n\nenum_types\x18\x02 \x03(\x0b\x32\x12.abi_dump.EnumType\x12,\n\rpointer_types\x18\x03 \x03(\x0b\x32\x15.abi_dump.PointerType\x12=\n\x16lvalue_reference_types\x18\x04 \x03(\x0b\x32\x1d.abi_dump.LvalueReferenceType\x12=\n\x16rvalue_reference_types\x18\x05 \x03(\x0b\x32\x1d.abi_dump.RvalueReferenceType\x12,\n\rbuiltin_types\x18\x06 \x03(\x0b\x32\x15.abi_dump.BuiltinType\x12\x30\n\x0fqualified_types\x18\x07 \x03(\x0b\x32\x17.abi_dump.QualifiedType\x12(\n\x0b\x61rray_types\x18\x08 \x03(\x0b\x32\x13.abi_dump.ArrayType\x12.\n\x0e\x66unction_types\x18\r \x03(\x0b\x32\x16.abi_dump.FunctionType\x12)\n\tfunctions\x18\t \x03(\x0b\x32\x16.abi_dump.FunctionDecl\x12,\n\x0bglobal_vars\x18\n \x03(\x0b\x32\x17.abi_dump.GlobalVarDecl\x12,\n\relf_functions\x18\x0b \x03(\x0b\x32\x15.abi_dump.ElfFunction\x12(\n\x0b\x65lf_objects\x18\x0c \x03(\x0b\x32\x13.abi_dump.ElfObject*N\n\x0f\x41\x63\x63\x65ssSpecifier\x12\x11\n\rpublic_access\x10\x01\x12\x12\n\x0eprivate_access\x10\x02\x12\x14\n\x10protected_access\x10\x03*=\n\nRecordKind\x12\x0f\n\x0bstruct_kind\x10\x01\x12\x0e\n\nclass_kind\x10\x02\x12\x0e\n\nunion_kind\x10\x03*(\n\x10\x45lfSymbolBinding\x12\n\n\x06Global\x10\x01\x12\x08\n\x04Weak\x10\x02') ) _ACCESSSPECIFIER = _descriptor.EnumDescriptor( @@ -44,8 +44,8 @@ _ACCESSSPECIFIER = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=3563, - serialized_end=3641, + serialized_start=3653, + serialized_end=3731, ) _sym_db.RegisterEnumDescriptor(_ACCESSSPECIFIER) @@ -71,18 +71,43 @@ _RECORDKIND = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=3643, - serialized_end=3704, + serialized_start=3733, + serialized_end=3794, ) _sym_db.RegisterEnumDescriptor(_RECORDKIND) RecordKind = enum_type_wrapper.EnumTypeWrapper(_RECORDKIND) +_ELFSYMBOLBINDING = _descriptor.EnumDescriptor( + name='ElfSymbolBinding', + full_name='abi_dump.ElfSymbolBinding', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='Global', index=0, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='Weak', index=1, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=3796, + serialized_end=3836, +) +_sym_db.RegisterEnumDescriptor(_ELFSYMBOLBINDING) + +ElfSymbolBinding = enum_type_wrapper.EnumTypeWrapper(_ELFSYMBOLBINDING) public_access = 1 private_access = 2 protected_access = 3 struct_kind = 1 class_kind = 2 union_kind = 3 +Global = 1 +Weak = 2 _VTABLECOMPONENT_KIND = _descriptor.EnumDescriptor( @@ -1127,6 +1152,13 @@ _ELFFUNCTION = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='binding', full_name='abi_dump.ElfFunction.binding', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=1, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -1140,7 +1172,7 @@ _ELFFUNCTION = _descriptor.Descriptor( oneofs=[ ], serialized_start=2868, - serialized_end=2895, + serialized_end=2940, ) @@ -1158,6 +1190,13 @@ _ELFOBJECT = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='binding', full_name='abi_dump.ElfObject.binding', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=1, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -1170,8 +1209,8 @@ _ELFOBJECT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2897, - serialized_end=2922, + serialized_start=2942, + serialized_end=3012, ) @@ -1285,8 +1324,8 @@ _TRANSLATIONUNIT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2925, - serialized_end=3561, + serialized_start=3015, + serialized_end=3651, ) _ARRAYTYPE.fields_by_name['type_info'].message_type = _BASICNAMEDANDTYPEDDECL @@ -1319,6 +1358,8 @@ _ENUMTYPE.fields_by_name['enum_fields'].message_type = _ENUMFIELDDECL _ENUMTYPE.fields_by_name['access'].enum_type = _ACCESSSPECIFIER _ENUMTYPE.fields_by_name['tag_info'].message_type = _TAGTYPE _GLOBALVARDECL.fields_by_name['access'].enum_type = _ACCESSSPECIFIER +_ELFFUNCTION.fields_by_name['binding'].enum_type = _ELFSYMBOLBINDING +_ELFOBJECT.fields_by_name['binding'].enum_type = _ELFSYMBOLBINDING _TRANSLATIONUNIT.fields_by_name['record_types'].message_type = _RECORDTYPE _TRANSLATIONUNIT.fields_by_name['enum_types'].message_type = _ENUMTYPE _TRANSLATIONUNIT.fields_by_name['pointer_types'].message_type = _POINTERTYPE @@ -1358,6 +1399,7 @@ DESCRIPTOR.message_types_by_name['ElfObject'] = _ELFOBJECT DESCRIPTOR.message_types_by_name['TranslationUnit'] = _TRANSLATIONUNIT DESCRIPTOR.enum_types_by_name['AccessSpecifier'] = _ACCESSSPECIFIER DESCRIPTOR.enum_types_by_name['RecordKind'] = _RECORDKIND +DESCRIPTOR.enum_types_by_name['ElfSymbolBinding'] = _ELFSYMBOLBINDING _sym_db.RegisterFileDescriptor(DESCRIPTOR) BasicNamedAndTypedDecl = _reflection.GeneratedProtocolMessageType('BasicNamedAndTypedDecl', (_message.Message,), dict( diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp.so.lsdump index 1d12ee192..fff7d8c90 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp.so.lsdump @@ -188,7 +188,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp_with_unused_struct.so.lsdump index 96d8c2454..e234d0fb3 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp_with_unused_struct.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm/libc_and_cpp_with_unused_struct.so.lsdump @@ -210,7 +210,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp.so.lsdump index 68634b585..a4a52cd67 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp.so.lsdump @@ -419,37 +419,49 @@ functions { } 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_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_add_function.so.lsdump index 8a784d598..1eb1cc40c 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_add_function.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_add_function.so.lsdump @@ -443,49 +443,65 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_add_global_variable.so.lsdump index ea97a07d8..0c1b1f64e 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_add_global_variable.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_add_global_variable.so.lsdump @@ -438,49 +438,65 @@ global_vars { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_change_function_access.so.lsdump index 40b628535..328930aba 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index b83f0a52d..cbb9d6cee 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index a29dd8430..09811f10f 100644 --- 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 @@ -415,37 +415,49 @@ functions { } 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 index 8a133ebb9..4f5ac139a 100644 --- 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 @@ -423,37 +423,49 @@ functions { } 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_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libgolden_cpp_inheritance_type_changed.so.lsdump index 101edd728..c352d7d4b 100644 --- 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 @@ -479,37 +479,49 @@ functions { } 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 index 5bc9aef7a..6af97d7a2 100644 --- 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 @@ -433,37 +433,49 @@ functions { } 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 index cdcf1b5c4..911acc14e 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 5a04bdc7d..1060db860 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index fa9554614..44297227d 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 68ceff390..766f1e902 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 10e265cb4..9ce6f42fb 100644 --- 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 @@ -431,46 +431,61 @@ functions { } 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 index 734e4049a..cbd66bccd 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index a97fb1e58..737d734ca 100644 --- 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 @@ -419,34 +419,45 @@ functions { } 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 index 8681bfb93..b086840eb 100644 --- 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 @@ -414,37 +414,49 @@ functions { } 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/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm/libreproducability.so.lsdump index 673efb5c2..e810193c0 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm/libreproducability.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm/libreproducability.so.lsdump @@ -35,4 +35,5 @@ builtin_types { } elf_functions { name: "repro" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp.so.lsdump index 8a9f784cb..f0d247b5c 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp.so.lsdump @@ -188,7 +188,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp_with_unused_struct.so.lsdump index 02bc1b3ae..af3896dc6 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp_with_unused_struct.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm64/libc_and_cpp_with_unused_struct.so.lsdump @@ -210,7 +210,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp.so.lsdump index b089862d2..7cf9b07ed 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp.so.lsdump @@ -419,37 +419,49 @@ functions { } 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_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_add_function.so.lsdump index deca5c55f..dbc9e0d38 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_add_function.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_add_function.so.lsdump @@ -443,49 +443,65 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_add_global_variable.so.lsdump index 98fcceb50..031a5980e 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_add_global_variable.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_add_global_variable.so.lsdump @@ -438,49 +438,65 @@ global_vars { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_change_function_access.so.lsdump index 23b2ad319..0b2216db0 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 2711c8589..da1d7186e 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index b5ba2ac09..2b4b5c93d 100644 --- 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 @@ -415,37 +415,49 @@ functions { } 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 index 1eb62d1f4..b51be849c 100644 --- 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 @@ -423,37 +423,49 @@ functions { } 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_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libgolden_cpp_inheritance_type_changed.so.lsdump index 61fd1bebd..aafa66f7e 100644 --- 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 @@ -479,37 +479,49 @@ functions { } 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 index f58f320e5..f0523700e 100644 --- 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 @@ -433,37 +433,49 @@ functions { } 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 index 65d242724..051c2115b 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 2e8211c07..fe9ef48a1 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 73ab209f1..47972f227 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index c7d139bc1..fbe74277f 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index c458c952e..27a7ebdb1 100644 --- 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 @@ -431,46 +431,61 @@ functions { } 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 index a3d5b19d0..82052ae94 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 797fa0b40..8bc79a54e 100644 --- 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 @@ -419,34 +419,45 @@ functions { } 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 index a1a906fd0..fbc9261ae 100644 --- 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 @@ -414,37 +414,49 @@ functions { } 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/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/arm64/libreproducability.so.lsdump index 673efb5c2..e810193c0 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/arm64/libreproducability.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/arm64/libreproducability.so.lsdump @@ -35,4 +35,5 @@ builtin_types { } elf_functions { name: "repro" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump index 1d12ee192..fff7d8c90 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp.so.lsdump @@ -188,7 +188,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump index 96d8c2454..e234d0fb3 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips/libc_and_cpp_with_unused_struct.so.lsdump @@ -210,7 +210,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump index 68634b585..a4a52cd67 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp.so.lsdump @@ -419,37 +419,49 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump index 8a784d598..1eb1cc40c 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_function.so.lsdump @@ -443,49 +443,65 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump index ea97a07d8..0c1b1f64e 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_add_global_variable.so.lsdump @@ -438,49 +438,65 @@ global_vars { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_change_function_access.so.lsdump index 40b628535..328930aba 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index b83f0a52d..cbb9d6cee 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index a29dd8430..09811f10f 100644 --- 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 @@ -415,37 +415,49 @@ functions { } 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 index 8a133ebb9..4f5ac139a 100644 --- 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 @@ -423,37 +423,49 @@ functions { } 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_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libgolden_cpp_inheritance_type_changed.so.lsdump index 101edd728..c352d7d4b 100644 --- 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 @@ -479,37 +479,49 @@ functions { } 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 index 5bc9aef7a..6af97d7a2 100644 --- 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 @@ -433,37 +433,49 @@ functions { } 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 index cdcf1b5c4..911acc14e 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 5a04bdc7d..1060db860 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index fa9554614..44297227d 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 68ceff390..766f1e902 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 10e265cb4..9ce6f42fb 100644 --- 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 @@ -431,46 +431,61 @@ functions { } 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 index 734e4049a..cbd66bccd 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index a97fb1e58..737d734ca 100644 --- 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 @@ -419,34 +419,45 @@ functions { } 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 index 8681bfb93..b086840eb 100644 --- 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 @@ -414,37 +414,49 @@ functions { } 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/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips/libreproducability.so.lsdump index 673efb5c2..e810193c0 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips/libreproducability.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips/libreproducability.so.lsdump @@ -35,4 +35,5 @@ builtin_types { } elf_functions { name: "repro" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump index 8a9f784cb..f0d247b5c 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp.so.lsdump @@ -188,7 +188,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump index 02bc1b3ae..af3896dc6 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips64/libc_and_cpp_with_unused_struct.so.lsdump @@ -210,7 +210,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump index b089862d2..7cf9b07ed 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp.so.lsdump @@ -419,37 +419,49 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump index deca5c55f..dbc9e0d38 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_function.so.lsdump @@ -443,49 +443,65 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump index 98fcceb50..031a5980e 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_add_global_variable.so.lsdump @@ -438,49 +438,65 @@ global_vars { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_change_function_access.so.lsdump index 23b2ad319..0b2216db0 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 2711c8589..da1d7186e 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index b5ba2ac09..2b4b5c93d 100644 --- 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 @@ -415,37 +415,49 @@ functions { } 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 index 1eb62d1f4..b51be849c 100644 --- 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 @@ -423,37 +423,49 @@ functions { } 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_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libgolden_cpp_inheritance_type_changed.so.lsdump index 61fd1bebd..aafa66f7e 100644 --- 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 @@ -479,37 +479,49 @@ functions { } 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 index f58f320e5..f0523700e 100644 --- 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 @@ -433,37 +433,49 @@ functions { } 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 index 65d242724..051c2115b 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 2e8211c07..fe9ef48a1 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 73ab209f1..47972f227 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index c7d139bc1..fbe74277f 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index c458c952e..27a7ebdb1 100644 --- 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 @@ -431,46 +431,61 @@ functions { } 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 index a3d5b19d0..82052ae94 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 797fa0b40..8bc79a54e 100644 --- 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 @@ -419,34 +419,45 @@ functions { } 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 index a1a906fd0..fbc9261ae 100644 --- 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 @@ -414,37 +414,49 @@ functions { } 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/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/mips64/libreproducability.so.lsdump index 673efb5c2..e810193c0 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/mips64/libreproducability.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/mips64/libreproducability.so.lsdump @@ -35,4 +35,5 @@ builtin_types { } elf_functions { name: "repro" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp.so.lsdump index 1d12ee192..fff7d8c90 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp.so.lsdump @@ -188,7 +188,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp_with_unused_struct.so.lsdump index 96d8c2454..e234d0fb3 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp_with_unused_struct.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86/libc_and_cpp_with_unused_struct.so.lsdump @@ -210,7 +210,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp.so.lsdump index 68634b585..a4a52cd67 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp.so.lsdump @@ -419,37 +419,49 @@ functions { } 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_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_add_function.so.lsdump index 8a784d598..1eb1cc40c 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_add_function.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_add_function.so.lsdump @@ -443,49 +443,65 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_add_global_variable.so.lsdump index ea97a07d8..0c1b1f64e 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_add_global_variable.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_add_global_variable.so.lsdump @@ -438,49 +438,65 @@ global_vars { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_function_access.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_change_function_access.so.lsdump index 40b628535..328930aba 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index b83f0a52d..cbb9d6cee 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index a29dd8430..09811f10f 100644 --- 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 @@ -415,37 +415,49 @@ functions { } 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 index 8a133ebb9..4f5ac139a 100644 --- 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 @@ -423,37 +423,49 @@ functions { } 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_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libgolden_cpp_inheritance_type_changed.so.lsdump index 101edd728..c352d7d4b 100644 --- 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 @@ -479,37 +479,49 @@ functions { } 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 index 5bc9aef7a..6af97d7a2 100644 --- 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 @@ -433,37 +433,49 @@ functions { } 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 index be8842f7a..ac63fcbe5 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 5a04bdc7d..1060db860 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index fa9554614..44297227d 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 68ceff390..766f1e902 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 10e265cb4..9ce6f42fb 100644 --- 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 @@ -431,46 +431,61 @@ functions { } 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 index 734e4049a..cbd66bccd 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index a97fb1e58..737d734ca 100644 --- 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 @@ -419,34 +419,45 @@ functions { } 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 index 8681bfb93..b086840eb 100644 --- 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 @@ -414,37 +414,49 @@ functions { } 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/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86/libreproducability.so.lsdump index 673efb5c2..e810193c0 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86/libreproducability.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86/libreproducability.so.lsdump @@ -35,4 +35,5 @@ builtin_types { } elf_functions { name: "repro" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp.so.lsdump index 8a9f784cb..f0d247b5c 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp.so.lsdump @@ -188,7 +188,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp_with_unused_struct.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp_with_unused_struct.so.lsdump index 02bc1b3ae..af3896dc6 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp_with_unused_struct.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libc_and_cpp_with_unused_struct.so.lsdump @@ -210,7 +210,9 @@ functions { } elf_functions { name: "CFunction" + binding: Global } elf_functions { name: "_Z3fooPiS_" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp.so.lsdump index b089862d2..7cf9b07ed 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp.so.lsdump @@ -419,37 +419,49 @@ functions { } 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_add_function.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_add_function.so.lsdump index deca5c55f..dbc9e0d38 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_add_function.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_add_function.so.lsdump @@ -443,49 +443,65 @@ functions { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker13AddedFunctionEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_add_global_variable.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_add_global_variable.so.lsdump index 98fcceb50..031a5980e 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_add_global_variable.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_add_global_variable.so.lsdump @@ -438,49 +438,65 @@ global_vars { } elf_functions { name: "_Z26test_virtual_function_callP12SuperSpeaker" + binding: Global } elf_functions { name: "_ZN12NotReferenced" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker11SpeakLouderEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker18CreateSuperSpeakerEi" + binding: Global } elf_functions { name: "_ZN12SuperSpeaker9SpeakLoudEv" + binding: Global } elf_functions { name: "_ZN12SuperSpeakerD2Ev" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN16LowVolumeSpeakerD0Ev" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker11BadPracticeEf" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker5SpeakEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeaker6ListenEv" + binding: Global } elf_functions { name: "_ZN17HighVolumeSpeakerD0Ev" + binding: Global } elf_objects { name: "_ZN17HighVolumeSpeaker21global_unprotected_idE" + binding: Global } elf_objects { name: "_ZTV16LowVolumeSpeaker" + binding: Global } elf_objects { name: "_ZTV17HighVolumeSpeaker" + binding: Global } diff --git a/vndk/tools/header-checker/tests/reference_dumps/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 index 23b2ad319..0b2216db0 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 2711c8589..da1d7186e 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index b5ba2ac09..2b4b5c93d 100644 --- 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 @@ -415,37 +415,49 @@ functions { } 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 index 1eb62d1f4..b51be849c 100644 --- 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 @@ -423,37 +423,49 @@ functions { } 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_inheritance_type_changed.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libgolden_cpp_inheritance_type_changed.so.lsdump index 61fd1bebd..aafa66f7e 100644 --- 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 @@ -479,37 +479,49 @@ functions { } 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 index f58f320e5..f0523700e 100644 --- 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 @@ -433,37 +433,49 @@ functions { } 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 index 65d242724..051c2115b 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 2e8211c07..fe9ef48a1 100644 --- 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 @@ -432,37 +432,49 @@ functions { } 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 index 73ab209f1..47972f227 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index c7d139bc1..fbe74277f 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index c458c952e..27a7ebdb1 100644 --- 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 @@ -431,46 +431,61 @@ functions { } 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 index a3d5b19d0..82052ae94 100644 --- 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 @@ -419,37 +419,49 @@ functions { } 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 index 797fa0b40..8bc79a54e 100644 --- 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 @@ -419,34 +419,45 @@ functions { } 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 index a1a906fd0..fbc9261ae 100644 --- 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 @@ -414,37 +414,49 @@ functions { } 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/libreproducability.so.lsdump b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libreproducability.so.lsdump index 673efb5c2..e810193c0 100644 --- a/vndk/tools/header-checker/tests/reference_dumps/x86_64/libreproducability.so.lsdump +++ b/vndk/tools/header-checker/tests/reference_dumps/x86_64/libreproducability.so.lsdump @@ -35,4 +35,5 @@ builtin_types { } elf_functions { name: "repro" + binding: Global }