/system/core/libunwindstack/tests/ |
D | SymbolsTest.cpp | 72 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 …]
|
D | ElfTest.cpp | 132 uint64_t func_offset; in TEST_F() local 133 ASSERT_FALSE(elf.GetFunctionName(0, &name, &func_offset)); in TEST_F()
|
/system/core/libunwindstack/tools/ |
D | unwind_symbols.cpp | 100 uint64_t func_offset; in main() local 101 if (!elf.GetFunctionName(func_addr, &cur_name, &func_offset)) { in main() 105 printf("<0x%" PRIx64 ">", func_addr - func_offset); in main() 106 if (func_offset != 0) { in main() 107 printf("+%" PRId64, func_offset); in main() 119 uint64_t func_offset; in main() local 120 if (elf.GetFunctionName(addr, &cur_name, &func_offset)) { in main() 122 printf("<0x%" PRIx64 "> Function: %s\n", addr - func_offset, cur_name.c_str()); in main()
|
D | unwind_info.cpp | 54 uint64_t func_offset; in DumpArm() local 55 if (elf->GetFunctionName(pc + load_bias, &name, &func_offset) && !name.empty()) { in DumpArm() 93 uint64_t func_offset; in DumpDwarfSection() local 94 if (elf->GetFunctionName(fde->pc_start, &name, &func_offset) && !name.empty()) { in DumpDwarfSection()
|
/system/core/libunwindstack/ |
D | LocalUnwinder.cpp | 126 uint64_t func_offset; in Unwind() local 127 if (elf->GetFunctionName(rel_pc, &func_name, &func_offset)) { in Unwind() 129 func_name, func_offset); in Unwind()
|
D | Symbols.cpp | 58 bool Symbols::GetName(uint64_t addr, Memory* elf_memory, std::string* name, uint64_t* func_offset) { in GetName() argument 63 *func_offset = addr - info->start_offset; in GetName() 89 *func_offset = addr - start_offset; in GetName()
|
D | Symbols.h | 47 bool GetName(uint64_t addr, Memory* elf_memory, std::string* name, uint64_t* func_offset);
|
D | Elf.cpp | 108 bool Elf::GetFunctionName(uint64_t addr, std::string* 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()
|
D | MapInfo.cpp | 248 bool MapInfo::GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) { in GetFunctionName() argument 258 return elf->GetFunctionName(addr, name, func_offset); in GetFunctionName()
|
D | ElfInterface.cpp | 432 uint64_t* func_offset) { in GetFunctionNameWithTemplate() argument 438 if (symbol->GetName<SymType>(addr, memory_, name, func_offset)) { in GetFunctionNameWithTemplate()
|
/system/core/libunwindstack/include/unwindstack/ |
D | ElfInterface.h | 123 bool GetFunctionNameWithTemplate(uint64_t addr, std::string* name, uint64_t* func_offset); 188 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) override { in GetFunctionName() argument 189 return ElfInterface::GetFunctionNameWithTemplate<Elf32_Sym>(addr, name, func_offset); in GetFunctionName() 218 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) override { in GetFunctionName() argument 219 return ElfInterface::GetFunctionNameWithTemplate<Elf64_Sym>(addr, name, func_offset); in GetFunctionName()
|
D | MapInfo.h | 88 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset);
|
D | Elf.h | 64 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset);
|
/system/core/libbacktrace/ |
D | UnwindStackMap.cpp | 123 uint64_t func_offset; in GetFunctionName() local 124 if (!elf->GetFunctionName(elf->GetRelPc(pc, map_info), &name, &func_offset)) { in GetFunctionName() 127 *offset = func_offset; in GetFunctionName()
|
D | Backtrace.cpp | 108 if (frame->func_offset) { in FormatFrameData() 109 line += StringPrintf("+%" PRIu64, frame->func_offset); in FormatFrameData()
|
D | UnwindStack.cpp | 119 back_frame->func_offset = frame->function_offset; in Unwind()
|
D | backtrace_test.cpp | 831 frame.func_offset = 0; in TEST_F() 891 frame.func_offset = 645; in TEST_F() 901 frame.func_offset = 645; in TEST_F()
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 181 uint64_t func_offset = 0; in dump_stack_segment() local 182 if (map_info->GetFunctionName(stack_data[i], &func_name, &func_offset)) { in dump_stack_segment() 184 if (func_offset) { in dump_stack_segment() 185 line += StringPrintf("+%" PRIu64, func_offset); in dump_stack_segment()
|
/system/core/libbacktrace/include/backtrace/ |
D | Backtrace.h | 92 uint64_t func_offset; // pc relative to the start of the function, only valid if func_name is not member
|