Home
last modified time | relevance | path

Searched refs:ElfSymbolIR (Results 1 – 21 of 21) sorted by relevance

/development/vndk/tools/header-checker/src/repr/symbol/
Dexported_symbol_set_test.cpp28 symbols.AddFunction("global", ElfSymbolIR::ElfSymbolBinding::Global); in TEST()
29 symbols.AddFunction("weak", ElfSymbolIR::ElfSymbolBinding::Weak); in TEST()
34 EXPECT_EQ(ElfSymbolIR::ElfSymbolBinding::Global, in TEST()
38 EXPECT_EQ(ElfSymbolIR::ElfSymbolBinding::Weak, in TEST()
45 symbols.AddVar("global", ElfSymbolIR::ElfSymbolBinding::Global); in TEST()
46 symbols.AddVar("weak", ElfSymbolIR::ElfSymbolBinding::Weak); in TEST()
51 EXPECT_EQ(ElfSymbolIR::ElfSymbolBinding::Global, in TEST()
55 EXPECT_EQ(ElfSymbolIR::ElfSymbolBinding::Weak, in TEST()
91 symbols.AddFunction("global_func", ElfSymbolIR::ElfSymbolBinding::Global); in TEST()
92 symbols.AddVar("global_var", ElfSymbolIR::ElfSymbolBinding::Global); in TEST()
Dso_file_parser.cpp43 static ElfSymbolIR::ElfSymbolBinding
47 return ElfSymbolIR::ElfSymbolBinding::Global; in LLVMToIRSymbolBinding()
49 return ElfSymbolIR::ElfSymbolBinding::Weak; in LLVMToIRSymbolBinding()
99 ElfSymbolIR::ElfSymbolBinding symbol_binding = in ELFSoFileParser()
Dexported_symbol_set.cpp53 ElfSymbolIR::ElfSymbolBinding binding) { in AddFunction()
59 ElfSymbolIR::ElfSymbolBinding binding) { in AddVar()
Dexported_symbol_set.h64 ElfSymbolIR::ElfSymbolBinding binding);
66 void AddVar(const std::string &name, ElfSymbolIR::ElfSymbolBinding binding);
Dversion_script_parser.cpp194 ElfSymbolIR::ElfSymbolBinding binding = in ParseSymbolLine()
195 tags.has_weak_tag_ ? ElfSymbolIR::ElfSymbolBinding::Weak in ParseSymbolLine()
196 : ElfSymbolIR::ElfSymbolBinding::Global; in ParseSymbolLine()
/development/vndk/tools/header-checker/src/diff/
Dabi_diff.h75 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map,
76 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map,
82 const AbiElementMap<const repr::ElfSymbolIR *> &old_symbols,
83 const AbiElementMap<const repr::ElfSymbolIR *> &new_symbols,
87 std::vector<const repr::ElfSymbolIR *> &elf_elements,
95 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map,
96 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map,
121 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map,
122 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map,
Dabi_diff.cpp187 AbiElementMap<const repr::ElfSymbolIR *> old_elf_symbol_map; in CollectDynsymExportables()
188 AbiElementMap<const repr::ElfSymbolIR *> new_elf_symbol_map; in CollectDynsymExportables()
228 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in Collect()
229 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in Collect()
246 const AbiElementMap<const repr::ElfSymbolIR *> &old_symbols, in CollectElfSymbols()
247 const AbiElementMap<const repr::ElfSymbolIR *> &new_symbols, in CollectElfSymbols()
249 std::vector<const repr::ElfSymbolIR *> removed_elements = in CollectElfSymbols()
252 std::vector<const repr::ElfSymbolIR *> added_elements = in CollectElfSymbols()
262 std::vector<const repr::ElfSymbolIR *> &elf_elements, in PopulateElfElements()
267 elf_element->GetBinding() == repr::ElfSymbolIR::Weak) { in PopulateElfElements()
[all …]
/development/vndk/tools/header-checker/src/repr/json/
Dconverter.h81 extern const ElfSymbolIR::ElfSymbolBinding default_elf_symbol_binding_ir;
110 static const std::map<ElfSymbolIR::ElfSymbolBinding, std::string>
112 {ElfSymbolIR::ElfSymbolBinding::Weak, "weak"},
113 {ElfSymbolIR::ElfSymbolBinding::Global, "global"},
Dconverter.cpp37 const ElfSymbolIR::ElfSymbolBinding default_elf_symbol_binding_ir =
38 ElfSymbolIR::ElfSymbolBinding::Global;
Dir_dumper.cpp65 ElfSymbolIR::ElfSymbolBinding value) { in AddElfSymbolBinding()
345 bool JsonIRDumper::AddElfSymbolMessageIR(const ElfSymbolIR *elf_symbol_ir) { in AddElfSymbolMessageIR()
348 case ElfSymbolIR::ElfFunctionKind: in AddElfSymbolMessageIR()
351 case ElfSymbolIR::ElfObjectKind: in AddElfSymbolMessageIR()
Dir_dumper.h90 bool AddElfSymbolMessageIR(const ElfSymbolIR *) override;
Dir_reader.cpp48 static const std::map<std::string, ElfSymbolIR::ElfSymbolBinding>
145 static ElfSymbolIR::ElfSymbolBinding
/development/vndk/tools/header-checker/src/repr/protobuf/
Dconverter.h44 ElfSymbolIR::ElfSymbolBinding binding) { in ElfSymbolBindingIRToProtobuf()
46 case ElfSymbolIR::ElfSymbolBinding::Global: in ElfSymbolBindingIRToProtobuf()
48 case ElfSymbolIR::ElfSymbolBinding::Weak: in ElfSymbolBindingIRToProtobuf()
56 inline ElfSymbolIR::ElfSymbolBinding ElfSymbolBindingProtobufToIR( in ElfSymbolBindingProtobufToIR()
60 return ElfSymbolIR::ElfSymbolBinding::Global; in ElfSymbolBindingProtobufToIR()
62 return ElfSymbolIR::ElfSymbolBinding::Weak; in ElfSymbolBindingProtobufToIR()
Dir_dumper.h71 bool AddElfSymbolMessageIR(const ElfSymbolIR *) override;
Dir_diff_dumper.cpp133 bool ProtobufIRDiffDumper::AddElfSymbolMessageIR(const ElfSymbolIR *elf_symbol, in AddElfSymbolMessageIR()
136 case ElfSymbolIR::ElfFunctionKind: in AddElfSymbolMessageIR()
140 case ElfSymbolIR::ElfObjectKind: in AddElfSymbolMessageIR()
Dir_diff_dumper.h44 bool AddElfSymbolMessageIR(const ElfSymbolIR *, DiffKind diff_kind) override;
Dir_dumper.cpp356 bool ProtobufIRDumper::AddElfSymbolMessageIR(const ElfSymbolIR *em) { in AddElfSymbolMessageIR()
358 case ElfSymbolIR::ElfFunctionKind: in AddElfSymbolMessageIR()
360 case ElfSymbolIR::ElfObjectKind: in AddElfSymbolMessageIR()
/development/vndk/tools/header-checker/src/repr/
Dir_dumper.h43 virtual bool AddElfSymbolMessageIR(const ElfSymbolIR *) = 0;
Dir_representation.cpp75 bool ModuleIR::AddElfSymbol(const ElfSymbolIR &elf_symbol) { in AddElfSymbol()
77 case ElfSymbolIR::ElfFunctionKind: in AddElfSymbol()
80 case ElfSymbolIR::ElfObjectKind: in AddElfSymbol()
Dir_diff_dumper.h43 virtual bool AddElfSymbolMessageIR(const ElfSymbolIR *,
Dir_representation.h701 class ElfSymbolIR {
719 ElfSymbolIR(const std::string &name, ElfSymbolBinding binding) in ElfSymbolIR() function
722 virtual ~ElfSymbolIR() {} in ~ElfSymbolIR()
739 class ElfFunctionIR : public ElfSymbolIR {
742 : ElfSymbolIR(name, binding) {} in ElfFunctionIR()
749 class ElfObjectIR : public ElfSymbolIR {
752 : ElfSymbolIR(name, binding) {} in ElfObjectIR()
868 bool AddElfSymbol(const ElfSymbolIR &);