• Home
  • Raw
  • Download

Lines Matching refs:GR

1119 static void Compare(const GsymCreator &GC, const GsymReader &GR) {  in Compare()  argument
1123 auto DecodedFI = GR.getFunctionInfo(FI.Range.Start); in Compare()
1139 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TestEncodeDecode() local
1140 ASSERT_TRUE(bool(GR)); in TestEncodeDecode()
1141 const Header &Hdr = GR->getHeader(); in TestEncodeDecode()
1148 Compare(GC, GR.get()); in TestEncodeDecode()
1255 static void VerifyFunctionInfo(const GsymReader &GR, uint64_t Addr, in VerifyFunctionInfo() argument
1257 auto ExpFI = GR.getFunctionInfo(Addr); in VerifyFunctionInfo()
1262 static void VerifyFunctionInfoError(const GsymReader &GR, uint64_t Addr, in VerifyFunctionInfoError() argument
1264 auto ExpFI = GR.getFunctionInfo(Addr); in VerifyFunctionInfoError()
1290 const GsymReader &GR = ExpectedGR.get(); in TEST() local
1291 VerifyFunctionInfoError(GR, Func1Addr-1, "address 0xfff is not in GSYM"); in TEST()
1294 VerifyFunctionInfo(GR, Func1Addr, Func1); in TEST()
1295 VerifyFunctionInfo(GR, Func1Addr+1, Func1); in TEST()
1296 VerifyFunctionInfo(GR, Func1Addr+FuncSize-1, Func1); in TEST()
1297 VerifyFunctionInfoError(GR, Func1Addr+FuncSize, in TEST()
1299 VerifyFunctionInfoError(GR, Func2Addr-1, "address 0x101f is not in GSYM"); in TEST()
1301 VerifyFunctionInfo(GR, Func2Addr, Func2); in TEST()
1302 VerifyFunctionInfo(GR, Func2Addr+1, Func2); in TEST()
1303 VerifyFunctionInfo(GR, Func2Addr+FuncSize-1, Func2); in TEST()
1304 VerifyFunctionInfoError(GR, Func2Addr+FuncSize, in TEST()
1354 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
1355 ASSERT_TRUE(bool(GR)); in TEST()
1358 auto LR = GR->lookup(0x1000); in TEST()
1362 LR = GR->lookup(0x100F); in TEST()
1367 LR = GR->lookup(0x1010); in TEST()
1374 LR = GR->lookup(0x1012); in TEST()
1381 LR = GR->lookup(0x1014); in TEST()
1387 LR = GR->lookup(0x1016); in TEST()
1394 LR = GR->lookup(0x1018); in TEST()
1400 LR = GR->lookup(0x1020); in TEST()
1473 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
1474 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
1476 EXPECT_EQ(GR->getNumAddresses(), 1u); in TEST()
1477 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
1550 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
1551 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
1553 EXPECT_EQ(GR->getNumAddresses(), 1u); in TEST()
1554 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
1657 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
1658 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
1660 EXPECT_EQ(GR->getNumAddresses(), 1u); in TEST()
1661 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
1666 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
1762 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
1763 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
1765 EXPECT_EQ(GR->getNumAddresses(), 1u); in TEST()
1766 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
1771 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
1931 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
1932 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
1934 EXPECT_EQ(GR->getNumAddresses(), 1u); in TEST()
1935 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
1940 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
1944 auto LR = GR->lookup(0x1000); in TEST()
1948 LR = GR->lookup(0x1100-1); in TEST()
1953 LR = GR->lookup(0x1100); in TEST()
1958 LR = GR->lookup(0x1180-1); in TEST()
1963 LR = GR->lookup(0x1180); in TEST()
1968 LR = GR->lookup(0x1200-1); in TEST()
1973 LR = GR->lookup(0x1200); in TEST()
2191 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
2192 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
2194 EXPECT_EQ(GR->getNumAddresses(), 4u); in TEST()
2196 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
2200 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
2208 ExpFI = GR->getFunctionInfo(0x2000); in TEST()
2212 MethodName = GR->getString(ExpFI->Name); in TEST()
2220 ExpFI = GR->getFunctionInfo(0x3000); in TEST()
2225 MethodName = GR->getString(ExpFI->Name); in TEST()
2228 ExpFI = GR->getFunctionInfo(0x4000); in TEST()
2232 MethodName = GR->getString(ExpFI->Name); in TEST()
2370 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
2371 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
2374 EXPECT_EQ(GR->getNumAddresses(), 1u); in TEST()
2375 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
2378 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()
2510 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST() local
2511 ASSERT_THAT_EXPECTED(GR, Succeeded()); in TEST()
2514 EXPECT_EQ(GR->getNumAddresses(), 1u); in TEST()
2515 auto ExpFI = GR->getFunctionInfo(0x1000); in TEST()
2518 StringRef MethodName = GR->getString(ExpFI->Name); in TEST()