Lines Matching full:debug_aranges
316 // This `.debug_aranges` table header is a valid 32bit big-endian section in TEST_F()
341 DWARFDebugArangeSet debug_aranges; in TEST_F() local
343 llvm::Error error = debug_aranges.extract(data, &off); in TEST_F()
353 // ranges for everything in .debug_aranges and no error. in TEST_F()
375 DWARFDebugAranges debug_aranges; in TEST_F() local
376 llvm::Error error = debug_aranges.extract(data); in TEST_F()
378 EXPECT_EQ(debug_aranges.GetNumRanges(), 2u); in TEST_F()
379 EXPECT_EQ(debug_aranges.FindAddress(0x0fff), DW_INVALID_OFFSET); in TEST_F()
380 EXPECT_EQ(debug_aranges.FindAddress(0x1000), 255u); in TEST_F()
381 EXPECT_EQ(debug_aranges.FindAddress(0x1100 - 1), 255u); in TEST_F()
382 EXPECT_EQ(debug_aranges.FindAddress(0x1100), DW_INVALID_OFFSET); in TEST_F()
383 EXPECT_EQ(debug_aranges.FindAddress(0x1fff), DW_INVALID_OFFSET); in TEST_F()
384 EXPECT_EQ(debug_aranges.FindAddress(0x2000), 255u); in TEST_F()
385 EXPECT_EQ(debug_aranges.FindAddress(0x2100 - 1), 255u); in TEST_F()
386 EXPECT_EQ(debug_aranges.FindAddress(0x2100), DW_INVALID_OFFSET); in TEST_F()