Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/Support/
H A 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()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Delf2yaml.cpp243 uint64_t ExpectedOffset; in dumpSectionOffsets() local
245 ExpectedOffset = Header.e_phoff + Header.e_phentsize * Header.e_phnum; in dumpSectionOffsets()
247 ExpectedOffset = sizeof(typename ELFT::Ehdr); in dumpSectionOffsets()
254 ExpectedOffset = alignTo(ExpectedOffset, in dumpSectionOffsets()
260 if (SecHdr.sh_offset != ExpectedOffset) in dumpSectionOffsets()
266 ExpectedOffset = SecHdr.sh_offset; in dumpSectionOffsets()
268 ExpectedOffset = SecHdr.sh_offset + SecHdr.sh_size; in dumpSectionOffsets()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugLineTest.cpp1011 uint64_t ExpectedOffset = Offset + local
1016 std::string ExpectedHex = Twine::utohexstr(ExpectedOffset).str();
1604 std::tie(Length, ExpectedOffset, Version, Format, ExpectedErr) = GetParam();
1608 uint64_t ExpectedOffset; member
1643 EXPECT_EQ(Offset, ExpectedOffset);
/llvm-project-15.0.7/llvm/unittests/DebugInfo/GSYM/
H A DGSYMTest.cpp214 Expected<uint64_t> ExpectedOffset = FI.encode(FW); in TestFunctionInfoEncodeError() local
215 ASSERT_FALSE(ExpectedOffset); in TestFunctionInfoEncodeError()
216 checkError(ExpectedErrorMsg, ExpectedOffset.takeError()); in TestFunctionInfoEncodeError()
249 llvm::Expected<uint64_t> ExpectedOffset = FI.encode(FW); in TestFunctionInfoEncodeDecode() local
250 ASSERT_TRUE(bool(ExpectedOffset)); in TestFunctionInfoEncodeDecode()
252 ASSERT_EQ(ExpectedOffset.get(), 0ULL); in TestFunctionInfoEncodeDecode()