/system/core/libunwindstack/tests/ |
D | DwarfCfaLogTest.cpp | 56 fde_.pc_start = 0x2000; in SetUp() 82 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2001)); in TYPED_TEST_P() 93 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2001)); in TYPED_TEST_P() 104 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2002)); in TYPED_TEST_P() 114 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2100, 0x2103)); in TYPED_TEST_P() 125 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x500, 0x503)); in TYPED_TEST_P() 135 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x1500, 0x1505)); in TYPED_TEST_P() 146 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x500, 0x503)); in TYPED_TEST_P() 157 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x1500, 0x1505)); in TYPED_TEST_P() 168 ASSERT_TRUE(this->cfa_->Log(0, this->fde_.pc_start, 0x2000, 0x2001)); in TYPED_TEST_P() [all …]
|
D | DwarfCfaTest.cpp | 55 fde_.pc_start = 0x2000; in SetUp() 80 ASSERT_FALSE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2000, 0x2001, &loc_regs)); in TYPED_TEST_P() 93 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2000, 0x2001, &loc_regs)); in TYPED_TEST_P() 106 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2000, 0x2002, &loc_regs)); in TYPED_TEST_P() 121 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x2100, 0x2103, &loc_regs)); in TYPED_TEST_P() 137 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x500, 0x503, &loc_regs)); in TYPED_TEST_P() 152 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x1500, 0x1505, &loc_regs)); in TYPED_TEST_P() 168 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x500, 0x503, &loc_regs)); in TYPED_TEST_P() 184 ASSERT_TRUE(this->cfa_->GetLocationInfo(this->fde_.pc_start, 0x1500, 0x1505, &loc_regs)); in TYPED_TEST_P() 200 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 | 112 loc_regs->pc_start = fde->pc_start; in MockGetCfaLocationInfo() 120 fde.pc_start = 0x500; in TEST_F() 141 fde0.pc_start = 0x1000; in TEST_F() 156 fde1.pc_start = 0x500; in TEST_F()
|
D | DwarfEhFrameWithHdrTest.cpp | 154 EXPECT_EQ(0x4500U, fde->pc_start); in TYPED_TEST_P() 210 EXPECT_EQ(0x4600U, fdes[0]->pc_start); in TYPED_TEST_P() 212 EXPECT_EQ(0x5500U, fdes[1]->pc_start); in TYPED_TEST_P() 214 EXPECT_EQ(0x6800U, fdes[2]->pc_start); in TYPED_TEST_P() 216 EXPECT_EQ(0x7700U, fdes[3]->pc_start); in TYPED_TEST_P() 379 EXPECT_EQ(0x1d008U, fde->pc_start); in TYPED_TEST_P() 417 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/core/libunwindstack/tools/ |
D | unwind_info.cpp | 88 if (fde == nullptr || fde->pc_start == fde->pc_end) { in DumpDwarfSection() 91 printf("\n PC 0x%" PRIx64 "-0x%" PRIx64, fde->pc_start, fde->pc_end); in DumpDwarfSection() 94 if (elf->GetFunctionName(fde->pc_start, &name, &func_offset) && !name.empty()) { in DumpDwarfSection() 99 printf("Failed to process cfa information for entry at 0x%" PRIx64 "\n", fde->pc_start); in DumpDwarfSection()
|
/system/core/libunwindstack/include/unwindstack/ |
D | DwarfLocation.h | 46 uint64_t pc_start = 0; member
|
D | DwarfStructs.h | 44 uint64_t pc_start = 0; member
|
/system/core/libunwindstack/ |
D | DwarfSection.cpp | 42 if (it == loc_regs_.end() || pc < it->second.pc_start) { in Step() 337 bool valid = memory_.ReadEncodedValue<AddressType>(cie->fde_address_encoding, &fde->pc_start); in FillInFde() 338 fde->pc_start = AdjustPcFromFde(fde->pc_start); in FillInFde() 346 fde->pc_end += fde->pc_start; in FillInFde() 620 uint64_t start = fde->pc_start; in InsertFde() 792 if (pc >= fde->pc_start && pc < fde->pc_end) { in GetFdeFromPc()
|
D | DwarfCfa.cpp | 53 cur_pc_ = fde_->pc_start; in GetLocationInfo() 54 loc_regs->pc_start = cur_pc_; in GetLocationInfo() 64 loc_regs->pc_start = cur_pc_; in GetLocationInfo() 274 uint64_t cur_pc = fde_->pc_start; in Log()
|