/system/unwinding/libunwindstack/tests/ |
D | DwarfCfaLogTest.cpp | 57 fde_.pc_start = 0x2000; in SetUp() 83 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2001)); in TYPED_TEST_P() 94 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2001)); in TYPED_TEST_P() 105 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2002)); in TYPED_TEST_P() 115 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2100, 0x2103)); in TYPED_TEST_P() 126 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x500, 0x503)); in TYPED_TEST_P() 136 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x1500, 0x1505)); in TYPED_TEST_P() 147 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x500, 0x503)); in TYPED_TEST_P() 158 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x1500, 0x1505)); in TYPED_TEST_P() 169 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2001)); in TYPED_TEST_P() [all …]
|
D | DwarfCfaTest.cpp | 57 fde_.pc_start = 0x2000; in SetUp() 82 ASSERT_FALSE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2000, 0x2001, &loc_regs)); in TYPED_TEST_P() 95 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2000, 0x2001, &loc_regs)); in TYPED_TEST_P() 108 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2000, 0x2002, &loc_regs)); in TYPED_TEST_P() 123 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2100, 0x2103, &loc_regs)); in TYPED_TEST_P() 139 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x500, 0x503, &loc_regs)); in TYPED_TEST_P() 154 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x1500, 0x1505, &loc_regs)); in TYPED_TEST_P() 170 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x500, 0x503, &loc_regs)); in TYPED_TEST_P() 186 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x1500, 0x1505, &loc_regs)); in TYPED_TEST_P() 202 ASSERT_FALSE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2000, 0x2001, &loc_regs)); in TYPED_TEST_P() [all …]
|
D | DwarfDebugFrameTest.cpp | 74 uint32_t pc_start, uint32_t pc_length, uint64_t segment_length = 0, in SetFde32() argument 80 memory->SetData32(offset, pc_start); in SetFde32() 90 uint64_t pc_start, uint64_t pc_length, uint64_t segment_length = 0, in SetFde64() argument 98 memory->SetData64(offset, pc_start); in SetFde64() 134 EXPECT_EQ(0x1500U, fdes[0]->pc_start); in TYPED_TEST_P() 142 EXPECT_EQ(0x2500U, fdes[1]->pc_start); in TYPED_TEST_P() 150 EXPECT_EQ(0x3500U, fdes[2]->pc_start); in TYPED_TEST_P() 158 EXPECT_EQ(0x4500U, fdes[3]->pc_start); in TYPED_TEST_P() 170 EXPECT_EQ(0x3500U, fde->pc_start); in TYPED_TEST_P() 178 EXPECT_EQ(0x1500U, fdes[0]->pc_start); in TYPED_TEST_P() [all …]
|
D | DwarfSectionTest.cpp | 123 loc_regs->pc_start = fde->pc_start; in MockGetCfaLocationInfo() 131 fde.pc_start = 0x500; in TEST_F() 153 fde0.pc_start = 0x1000; in TEST_F() 169 fde1.pc_start = 0x500; in TEST_F()
|
D | DwarfEhFrameWithHdrTest.cpp | 141 EXPECT_EQ(0x4500U, fde->pc_start); in TYPED_TEST_P() 176 EXPECT_EQ(0x4500U, fde->pc_start); in TYPED_TEST_P() 212 EXPECT_EQ(0x4500U, fde->pc_start); in TYPED_TEST_P() 250 EXPECT_EQ(0x4500U, fdes[0]->pc_start); in TYPED_TEST_P() 306 EXPECT_EQ(0x4600U, fdes[0]->pc_start); in TYPED_TEST_P() 308 EXPECT_EQ(0x5500U, fdes[1]->pc_start); in TYPED_TEST_P() 310 EXPECT_EQ(0x6800U, fdes[2]->pc_start); in TYPED_TEST_P() 312 EXPECT_EQ(0x7700U, fdes[3]->pc_start); in TYPED_TEST_P() 475 EXPECT_EQ(0x1d008U, fde->pc_start); in TYPED_TEST_P() 513 EXPECT_EQ(0xd018U, fde->pc_start); in TYPED_TEST_P()
|
D | DwarfEhFrameTest.cpp | 70 EXPECT_EQ(0x6608U, fde->pc_start); in TYPED_TEST_P() 109 EXPECT_EQ(0x6618U, fde->pc_start); in TYPED_TEST_P()
|
/system/unwinding/libunwindstack/ |
D | DwarfSection.cpp | 44 if (it == loc_regs_.end() || pc < it->second.pc_start) { in Step() 353 bool valid = memory_.ReadEncodedValue<AddressType>(cie->fde_address_encoding, &fde->pc_start); in FillInFde() 354 fde->pc_start = AdjustPcFromFde(fde->pc_start); in FillInFde() 362 fde->pc_end += fde->pc_start; in FillInFde() 750 return fde != nullptr && fde->pc_start <= pc ? fde : nullptr; in GetFdeFromPc() 761 uint64_t pc_start, pc_end, fde_offset; in BuildFdeIndex() member 770 if (fde.has_value() && /* defensive check */ (fde->pc_start < fde->pc_end)) { in BuildFdeIndex() 771 fdes.push_back({fde->pc_start, fde->pc_end, initial_offset}); in BuildFdeIndex() 790 if (prev_pc_end < fdes[i].pc_start && filling.pc_start < fdes[i].pc_start) { in BuildFdeIndex() 791 fdes.push_back({filling.pc_start, fdes[i].pc_start, filling.fde_offset}); in BuildFdeIndex() [all …]
|
D | DwarfEhFrameWithHdr.cpp | 117 if (fde->pc_start == fde->pc_end) { in GetFdeFromPc() 211 if (fde->pc_start == fde->pc_end) { in GetFdes() 212 const DwarfFde* fde_real = DwarfSectionImpl<AddressType>::GetFdeFromPc(fde->pc_start); in GetFdes()
|
D | DwarfCfa.cpp | 55 cur_pc_ = fde_->pc_start; in GetLocationInfo() 56 loc_regs->pc_start = cur_pc_; in GetLocationInfo() 66 loc_regs->pc_start = cur_pc_; in GetLocationInfo() 280 uint64_t cur_pc = fde_->pc_start; in Log()
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_info.cpp | 89 if (fde == nullptr || fde->pc_start == fde->pc_end) { in DumpDwarfSection() 92 printf("\n PC 0x%" PRIx64 "-0x%" PRIx64, fde->pc_start, fde->pc_end); in DumpDwarfSection() 95 if (elf->GetFunctionName(fde->pc_start, &name, &func_offset) && !name.empty()) { in DumpDwarfSection() 100 printf("Failed to process cfa information for entry at 0x%" PRIx64 "\n", fde->pc_start); in DumpDwarfSection()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | DwarfLocation.h | 46 uint64_t pc_start = 0; member
|
D | DwarfStructs.h | 44 uint64_t pc_start = 0; member
|