Home
last modified time | relevance | path

Searched refs:ExpectedOffset (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/unittests/Support/
DOptimizedStructLayoutTest.cpp21 uint64_t ExpectedOffset; member
34 uint64_t ExpectedOffset) { in flexible() argument
36 OptimizedStructLayoutField::FlexibleOffset, ExpectedOffset}); in flexible()
58 EXPECT_EQ(LF.Offset, F.ExpectedOffset); in verify()
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp244 uint64_t ExpectedOffset; in dumpSectionOffsets() local
246 ExpectedOffset = Header.e_phoff + Header.e_phentsize * Header.e_phnum; in dumpSectionOffsets()
248 ExpectedOffset = sizeof(typename ELFT::Ehdr); in dumpSectionOffsets()
255 ExpectedOffset = alignTo(ExpectedOffset, in dumpSectionOffsets()
261 if (SecHdr.sh_offset != ExpectedOffset) in dumpSectionOffsets()
267 ExpectedOffset = SecHdr.sh_offset; in dumpSectionOffsets()
269 ExpectedOffset = SecHdr.sh_offset + SecHdr.sh_size; in dumpSectionOffsets()
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugLineTest.cpp852 uint64_t ExpectedOffset = Offset + in checkTable() local
857 std::string ExpectedHex = Twine::utohexstr(ExpectedOffset).str(); in checkTable()
1387 std::tie(Length, ExpectedOffset, Version, Format, ExpectedErr) = GetParam(); in SetUp()
1391 uint64_t ExpectedOffset; member
1422 EXPECT_EQ(Offset, ExpectedOffset); in TEST_P()
/external/llvm-project/llvm/unittests/DebugInfo/GSYM/
DGSYMTest.cpp215 Expected<uint64_t> ExpectedOffset = FI.encode(FW); in TestFunctionInfoEncodeError() local
216 ASSERT_FALSE(ExpectedOffset); in TestFunctionInfoEncodeError()
217 checkError(ExpectedErrorMsg, ExpectedOffset.takeError()); in TestFunctionInfoEncodeError()
250 llvm::Expected<uint64_t> ExpectedOffset = FI.encode(FW); in TestFunctionInfoEncodeDecode() local
251 ASSERT_TRUE(bool(ExpectedOffset)); in TestFunctionInfoEncodeDecode()
253 ASSERT_EQ(ExpectedOffset.get(), 0ULL); in TestFunctionInfoEncodeDecode()