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.cpp41 static ElfSymbolIR::ElfSymbolBinding
45 return ElfSymbolIR::ElfSymbolBinding::Global; in LLVMToIRSymbolBinding()
47 return ElfSymbolIR::ElfSymbolBinding::Weak; in LLVMToIRSymbolBinding()
98 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.cpp192 ElfSymbolIR::ElfSymbolBinding binding = in ParseSymbolLine()
193 tags.has_weak_tag_ ? ElfSymbolIR::ElfSymbolBinding::Weak in ParseSymbolLine()
194 : 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.cpp181 AbiElementMap<const repr::ElfSymbolIR *> old_elf_symbol_map; in CollectDynsymExportables()
182 AbiElementMap<const repr::ElfSymbolIR *> new_elf_symbol_map; in CollectDynsymExportables()
222 const AbiElementMap<const repr::ElfSymbolIR *> *old_elf_map, in Collect()
223 const AbiElementMap<const repr::ElfSymbolIR *> *new_elf_map, in Collect()
240 const AbiElementMap<const repr::ElfSymbolIR *> &old_symbols, in CollectElfSymbols()
241 const AbiElementMap<const repr::ElfSymbolIR *> &new_symbols, in CollectElfSymbols()
243 std::vector<const repr::ElfSymbolIR *> removed_elements = in CollectElfSymbols()
246 std::vector<const repr::ElfSymbolIR *> added_elements = in CollectElfSymbols()
256 std::vector<const repr::ElfSymbolIR *> &elf_elements, in PopulateElfElements()
261 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()
352 bool JsonIRDumper::AddElfSymbolMessageIR(const ElfSymbolIR *elf_symbol_ir) { in AddElfSymbolMessageIR()
355 case ElfSymbolIR::ElfFunctionKind: in AddElfSymbolMessageIR()
358 case ElfSymbolIR::ElfObjectKind: in AddElfSymbolMessageIR()
Dir_dumper.h93 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.cpp368 bool ProtobufIRDumper::AddElfSymbolMessageIR(const ElfSymbolIR *em) { in AddElfSymbolMessageIR()
370 case ElfSymbolIR::ElfFunctionKind: in AddElfSymbolMessageIR()
372 case ElfSymbolIR::ElfObjectKind: in AddElfSymbolMessageIR()
/development/vndk/tools/header-checker/src/repr/
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_dumper.h43 virtual bool AddElfSymbolMessageIR(const ElfSymbolIR *) = 0;
Dir_diff_dumper.h43 virtual bool AddElfSymbolMessageIR(const ElfSymbolIR *,
Dir_representation.h719 class ElfSymbolIR {
737 ElfSymbolIR(const std::string &name, ElfSymbolBinding binding) in ElfSymbolIR() function
740 virtual ~ElfSymbolIR() {} in ~ElfSymbolIR()
757 class ElfFunctionIR : public ElfSymbolIR {
760 : ElfSymbolIR(name, binding) {} in ElfFunctionIR()
767 class ElfObjectIR : public ElfSymbolIR {
770 : ElfSymbolIR(name, binding) {} in ElfObjectIR()
868 bool AddElfSymbol(const ElfSymbolIR &);