Home | History | Annotate | Download | only in simpleperf

Lines Matching refs:symbols

37 void ParseSymbol(const ElfFileSymbol& symbol, std::map<std::string, ElfFileSymbol>* symbols) {
38 (*symbols)[symbol.name] = symbol;
41 void CheckElfFileSymbols(const std::map<std::string, ElfFileSymbol>& symbols) {
42 auto pos = symbols.find("GlobalVar");
43 ASSERT_NE(pos, symbols.end());
45 pos = symbols.find("GlobalFunc");
46 ASSERT_NE(pos, symbols.end());
52 std::map<std::string, ElfFileSymbol> symbols;
54 std::bind(ParseSymbol, std::placeholders::_1, &symbols)));
55 CheckElfFileSymbols(symbols);
59 std::map<std::string, ElfFileSymbol> symbols;
61 std::bind(ParseSymbol, std::placeholders::_1, &symbols)));
62 CheckElfFileSymbols(symbols);
67 std::map<std::string, ElfFileSymbol> symbols;
69 std::bind(ParseSymbol, std::placeholders::_1, &symbols)));
73 std::map<std::string, ElfFileSymbol> symbols;
76 std::bind(ParseSymbol, std::placeholders::_1, &symbols)));
77 CheckElfFileSymbols(symbols);