Home
last modified time | relevance | path

Searched refs:GetFunctionName (Results 1 – 25 of 25) sorted by relevance

/system/core/libunwindstack/tools/
Dunwind_symbols.cpp101 if (!elf.GetFunctionName(func_addr, &cur_name, &func_offset)) { in main()
120 if (elf.GetFunctionName(addr, &cur_name, &func_offset)) { in main()
Dunwind_info.cpp55 if (elf->GetFunctionName(pc + load_bias, &name, &func_offset) && !name.empty()) { in DumpArm()
94 if (elf->GetFunctionName(fde->pc_start, &name, &func_offset) && !name.empty()) { in DumpDwarfSection()
Dunwind_reg_info.cpp196 if (elf.GetFunctionName(pc, &function_name, &function_offset)) { in GetInfo()
/system/core/libunwindstack/
DElfInterfaceArm.cpp172 bool ElfInterfaceArm::GetFunctionName(uint64_t addr, std::string* name, uint64_t* offset) { in GetFunctionName() function in unwindstack::ElfInterfaceArm
177 if (ElfInterface32::GetFunctionName(addr | 1, name, offset)) { in GetFunctionName()
DElf.cpp108 bool Elf::GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) { in GetFunctionName() function in unwindstack::Elf
110 return valid_ && (interface_->GetFunctionName(addr, name, func_offset) || in GetFunctionName()
112 gnu_debugdata_interface_->GetFunctionName(addr, name, func_offset))); in GetFunctionName()
DMapInfo.cpp248 bool MapInfo::GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) { in GetFunctionName() function in unwindstack::MapInfo
258 return elf->GetFunctionName(addr, name, func_offset); in GetFunctionName()
DElfInterfaceArm.h79 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* offset) override;
DLocalUnwinder.cpp127 if (elf->GetFunctionName(rel_pc, &func_name, &func_offset)) { in Unwind()
DUnwinder.cpp261 !elf->GetFunctionName(step_pc, &frame->function_name, &frame->function_offset)) { in Unwind()
/system/core/libunwindstack/include/unwindstack/
DElfInterface.h61 virtual bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* offset) = 0;
188 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) override { in GetFunctionName() function
218 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) override { in GetFunctionName() function
DMapInfo.h88 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset);
DElf.h64 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset);
/system/core/libunwindstack/tests/
DElfFake.cpp35 bool ElfInterfaceFake::GetFunctionName(uint64_t, std::string* name, uint64_t* offset) { in GetFunctionName() function in unwindstack::ElfInterfaceFake
DMapInfoTest.cpp70 ASSERT_TRUE(map_info.GetFunctionName(1000, &name, &offset)); in TEST()
DElfFake.h73 bool GetFunctionName(uint64_t, std::string*, uint64_t*) override;
DElfTest.cpp133 ASSERT_FALSE(elf.GetFunctionName(0, &name, &func_offset)); in TEST_F()
316 bool GetFunctionName(uint64_t, std::string*, uint64_t*) override { return false; } in GetFunctionName() function in unwindstack::ElfInterfaceMock
DElfInterfaceTest.cpp805 ASSERT_FALSE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeadersMalformedSymData()
879 ASSERT_TRUE(elf->GetFunctionName(0x90010, &name, &name_offset)); in InitSectionHeaders()
882 ASSERT_TRUE(elf->GetFunctionName(0xd0020, &name, &name_offset)); in InitSectionHeaders()
/system/core/libbacktrace/
DUnwindStackMap.cpp100 std::string UnwindStackMap::GetFunctionName(uint64_t pc, uint64_t* offset) { in GetFunctionName() function in UnwindStackMap
124 if (!elf->GetFunctionName(elf->GetRelPc(pc, map_info), &name, &func_offset)) { in GetFunctionName()
DUnwindStackMap.h49 virtual std::string GetFunctionName(uint64_t pc, uint64_t* offset) override;
DUnwindStack.cpp152 return GetMap()->GetFunctionName(pc, offset); in GetFunctionNameRaw()
177 return GetMap()->GetFunctionName(pc, offset); in GetFunctionNameRaw()
DBacktrace.cpp56 std::string Backtrace::GetFunctionName(uint64_t pc, uint64_t* offset, const backtrace_map_t* map) { in GetFunctionName() function in Backtrace
Dbacktrace_test.cpp1256 std::string func_name = backtrace->GetFunctionName(read_addr, &offset); in TEST_F()
1337 std::string func_name = backtrace->GetFunctionName(read_addr, &offset); in TEST_F()
1495 ASSERT_NE(std::string(""), backtrace->GetFunctionName(cur_func_offset, &offset)); in TEST_F()
1508 ASSERT_NE(std::string(""), backtrace->GetFunctionName(cur_func_offset, &offset)); in TEST_F()
1589 ASSERT_EQ(std::string(""), backtrace->GetFunctionName(device_map_uint, &offset)); in UnwindFromDevice()
1590 ASSERT_EQ(std::string(""), backtrace->GetFunctionName(device_map_uint, &offset, &map)); in UnwindFromDevice()
1591 ASSERT_EQ(std::string(""), backtrace->GetFunctionName(0, &offset)); in UnwindFromDevice()
1597 ASSERT_NE(std::string(""), backtrace->GetFunctionName(cur_func_offset, &offset, &map)); in UnwindFromDevice()
1599 ASSERT_EQ(std::string(""), backtrace->GetFunctionName(cur_func_offset, &offset, &map)); in UnwindFromDevice()
/system/core/libbacktrace/include/backtrace/
DBacktraceMap.h123 virtual std::string GetFunctionName(uint64_t /*pc*/, uint64_t* /*offset*/) { return ""; } in GetFunctionName() function
DBacktrace.h164 virtual std::string GetFunctionName(uint64_t pc, uint64_t* offset,
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp182 if (map_info->GetFunctionName(stack_data[i], &func_name, &func_offset)) { in dump_stack_segment()