Home
last modified time | relevance | path

Searched refs:cfi_row (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/trace_event/
Dcfi_backtrace_android_unittest.cc94 CFIBacktraceAndroid::CFIRow cfi_row = {0}; in TEST() local
95 EXPECT_FALSE(unwinder->FindCFIRowForPC(0x01, &cfi_row)); in TEST()
96 EXPECT_FALSE(unwinder->FindCFIRowForPC(0x100, &cfi_row)); in TEST()
97 EXPECT_FALSE(unwinder->FindCFIRowForPC(0x1502, &cfi_row)); in TEST()
98 EXPECT_FALSE(unwinder->FindCFIRowForPC(0x3000, &cfi_row)); in TEST()
99 EXPECT_FALSE(unwinder->FindCFIRowForPC(0x2024, &cfi_row)); in TEST()
100 EXPECT_FALSE(unwinder->FindCFIRowForPC(0x2212, &cfi_row)); in TEST()
107 EXPECT_TRUE(unwinder->FindCFIRowForPC(0x1002, &cfi_row)); in TEST()
108 EXPECT_EQ(kRow1, cfi_row); in TEST()
109 EXPECT_TRUE(unwinder->FindCFIRowForPC(0x1003, &cfi_row)); in TEST()
[all …]
Dcfi_backtrace_android.cc261 CFIUnwindDataRow cfi_row = {0, 0}; in FindCFIRowForPC() local
274 cfi_row = row; in FindCFIRowForPC()
279 if (cfi_row.ra_offset()) in FindCFIRowForPC()
280 ra_offset = cfi_row.ra_offset(); in FindCFIRowForPC()
282 DCHECK_NE(0u, cfi_row.addr_offset); in FindCFIRowForPC()
283 *cfi = {cfi_row.cfa_offset(), ra_offset}; in FindCFIRowForPC()