Home
last modified time | relevance | path

Searched refs:func_offset (Results 1 – 18 of 18) sorted by relevance

/system/unwinding/libunwindstack/tests/
DSymbolsTest.cpp72 uint64_t func_offset; in TYPED_TEST_P() local
73 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P()
75 ASSERT_EQ(0U, func_offset); in TYPED_TEST_P()
78 ASSERT_TRUE(symbols.GetName<TypeParam>(0x500f, &this->memory_, &name, &func_offset)); in TYPED_TEST_P()
80 ASSERT_EQ(0xfU, func_offset); in TYPED_TEST_P()
83 ASSERT_FALSE(symbols.GetName<TypeParam>(0x4fff, &this->memory_, &name, &func_offset)); in TYPED_TEST_P()
84 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5010, &this->memory_, &name, &func_offset)); in TYPED_TEST_P()
100 uint64_t func_offset; in TYPED_TEST_P() local
101 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P()
103 ASSERT_EQ(0U, func_offset); in TYPED_TEST_P()
[all …]
DElfTest.cpp135 uint64_t func_offset; in TEST_F() local
136 ASSERT_FALSE(elf.GetFunctionName(0, &name, &func_offset)); in TEST_F()
/system/unwinding/libunwindstack/tools/
Dunwind_symbols.cpp94 uint64_t func_offset; in main() local
95 if (!elf.GetFunctionName(func_addr, &cur_name, &func_offset)) { in main()
99 printf("<0x%" PRIx64 ">", func_addr - func_offset); in main()
100 if (func_offset != 0) { in main()
101 printf("+%" PRId64, func_offset); in main()
113 uint64_t func_offset; in main() local
114 if (elf.GetFunctionName(addr, &cur_name, &func_offset)) { in main()
116 printf("<0x%" PRIx64 "> Function: %s\n", addr - func_offset, cur_name.c_str()); in main()
Dunwind_info.cpp55 uint64_t func_offset; in DumpArm() local
56 if (elf->GetFunctionName(pc + load_bias, &name, &func_offset) && !name.empty()) { in DumpArm()
94 uint64_t func_offset; in DumpDwarfSection() local
95 if (elf->GetFunctionName(fde->pc_start, &name, &func_offset) && !name.empty()) { in DumpDwarfSection()
/system/unwinding/libunwindstack/
DSymbols.cpp50 Symbols::Info* Symbols::BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset) { in BinarySearch() argument
58 *func_offset = addr - sym_value; in BinarySearch()
80 *func_offset = addr - sym.st_value; in BinarySearch()
127 uint64_t* func_offset) { in GetName() argument
131 info = BinarySearch<SymType, false>(addr, elf_memory, func_offset); in GetName()
136 info = BinarySearch<SymType, true>(addr, elf_memory, func_offset); in GetName()
140 info = BinarySearch<SymType, true>(addr, elf_memory, func_offset); in GetName()
DLocalUnwinder.cpp113 uint64_t func_offset; in Unwind() local
114 if (elf->GetFunctionName(rel_pc, &func_name, &func_offset)) { in Unwind()
116 func_name, func_offset); in Unwind()
DSymbols.h47 bool GetName(uint64_t addr, Memory* elf_memory, SharedString* name, uint64_t* func_offset);
59 Info* BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset);
DElf.cpp108 bool Elf::GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset) { in GetFunctionName() argument
110 return valid_ && (interface_->GetFunctionName(addr, name, func_offset) || in GetFunctionName()
112 gnu_debugdata_interface_->GetFunctionName(addr, name, func_offset))); in GetFunctionName()
DMapInfo.cpp274 bool MapInfo::GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset) { in GetFunctionName() argument
284 return elf()->GetFunctionName(addr, name, func_offset); in GetFunctionName()
DElfInterface.cpp425 uint64_t* func_offset) { in GetFunctionName() argument
431 if (symbol->template GetName<SymType>(addr, memory_, name, func_offset)) { in GetFunctionName()
/system/unwinding/libbacktrace/
DUnwindStackMap.cpp137 uint64_t func_offset; in GetFunctionName() local
138 if (!elf->GetFunctionName(elf->GetRelPc(pc, map_info), &name, &func_offset)) { in GetFunctionName()
141 *offset = func_offset; in GetFunctionName()
DBacktrace.cpp115 if (frame->func_offset) { in FormatFrameData()
116 line += StringPrintf("+%" PRIu64, frame->func_offset); in FormatFrameData()
DUnwindStack.cpp138 back_frame->func_offset = frame->function_offset; in Unwind()
Dbacktrace_test.cpp831 frame.func_offset = 0; in TEST_F()
891 frame.func_offset = 645; in TEST_F()
901 frame.func_offset = 645; in TEST_F()
/system/unwinding/libunwindstack/include/unwindstack/
DElf.h56 bool GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset);
DMapInfo.h137 bool GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset);
DElfInterface.h206 bool GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset) override;
/system/unwinding/libbacktrace/include/backtrace/
DBacktrace.h92 uint64_t func_offset; // pc relative to the start of the function, only valid if func_name is not member