Lines Matching refs:ExpFI
1257 auto ExpFI = GR.getFunctionInfo(Addr); in VerifyFunctionInfo() local
1258 ASSERT_TRUE(bool(ExpFI)); in VerifyFunctionInfo()
1259 ASSERT_EQ(FI, ExpFI.get()); in VerifyFunctionInfo()
1264 auto ExpFI = GR.getFunctionInfo(Addr); in VerifyFunctionInfoError() local
1265 ASSERT_FALSE(bool(ExpFI)); in VerifyFunctionInfoError()
1266 checkError(ErrMessage, ExpFI.takeError()); in VerifyFunctionInfoError()
1477 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
1478 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
1479 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
1480 EXPECT_FALSE(ExpFI->OptLineTable.hasValue()); in TEST()
1481 EXPECT_FALSE(ExpFI->Inline.hasValue()); in TEST()
1554 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
1555 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
1556 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
1557 EXPECT_FALSE(ExpFI->OptLineTable.hasValue()); in TEST()
1558 EXPECT_FALSE(ExpFI->Inline.hasValue()); in TEST()
1661 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
1662 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
1663 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
1664 EXPECT_FALSE(ExpFI->OptLineTable.hasValue()); in TEST()
1665 EXPECT_FALSE(ExpFI->Inline.hasValue()); in TEST()
1666 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
1766 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
1767 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
1768 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
1769 EXPECT_FALSE(ExpFI->OptLineTable.hasValue()); in TEST()
1770 EXPECT_FALSE(ExpFI->Inline.hasValue()); in TEST()
1771 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
1935 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
1936 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
1937 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
1938 EXPECT_TRUE(ExpFI->OptLineTable.hasValue()); in TEST()
1939 EXPECT_TRUE(ExpFI->Inline.hasValue()); in TEST()
1940 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
2196 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
2197 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
2198 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
2199 EXPECT_TRUE(ExpFI->OptLineTable.hasValue()); in TEST()
2200 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
2204 EXPECT_EQ(ExpFI->OptLineTable->size(), 2u); in TEST()
2205 EXPECT_EQ(ExpFI->OptLineTable->first()->Addr, 0x1000u); in TEST()
2206 EXPECT_EQ(ExpFI->OptLineTable->first()->Line, 11u); in TEST()
2208 ExpFI = GR->getFunctionInfo(0x2000); in TEST()
2209 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
2210 ASSERT_EQ(ExpFI->Range, AddressRange(0x2000, 0x3000)); in TEST()
2211 EXPECT_TRUE(ExpFI->OptLineTable.hasValue()); in TEST()
2212 MethodName = GR->getString(ExpFI->Name); in TEST()
2216 EXPECT_EQ(ExpFI->OptLineTable->size(), 2u); in TEST()
2217 EXPECT_EQ(ExpFI->OptLineTable->first()->Addr, 0x2000u); in TEST()
2218 EXPECT_EQ(ExpFI->OptLineTable->first()->Line, 21u); in TEST()
2220 ExpFI = GR->getFunctionInfo(0x3000); in TEST()
2221 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
2222 ASSERT_EQ(ExpFI->Range, AddressRange(0x3000, 0x4000)); in TEST()
2224 EXPECT_FALSE(ExpFI->OptLineTable.hasValue()); in TEST()
2225 MethodName = GR->getString(ExpFI->Name); in TEST()
2228 ExpFI = GR->getFunctionInfo(0x4000); in TEST()
2229 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
2230 ASSERT_EQ(ExpFI->Range, AddressRange(0x4000, 0x5000)); in TEST()
2231 EXPECT_TRUE(ExpFI->OptLineTable.hasValue()); in TEST()
2232 MethodName = GR->getString(ExpFI->Name); in TEST()
2236 EXPECT_EQ(ExpFI->OptLineTable->size(), 1u); in TEST()
2237 EXPECT_EQ(ExpFI->OptLineTable->first()->Addr, 0x4000u); in TEST()
2238 EXPECT_EQ(ExpFI->OptLineTable->first()->Line, 40u); in TEST()
2375 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
2376 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
2377 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
2378 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
2515 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST() local
2516 ASSERT_THAT_EXPECTED(ExpFI, Succeeded()); in TEST()
2517 ASSERT_EQ(ExpFI->Range, AddressRange(0x1000, 0x2000)); in TEST()
2518 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()