10 #ifndef LLVM_DEBUGINFO_MSF_MSFCOMMON_H
11 #define LLVM_DEBUGINFO_MSF_MSFCOMMON_H
24 static const char Magic[] = {
'M',
'i',
'c',
'r',
'o',
's',
'o',
'f',
25 't',
' ',
'C',
'/',
'C',
'+',
'+',
' ',
26 'M',
'S',
'F',
' ',
'7',
'.',
'0',
'0',
27 '\r',
'\n',
'\x1a',
'D',
'S',
'\0',
'\0',
'\0'};
58 std::vector<ArrayRef<support::ulittle32_t>>
StreamMap;
104 #endif // LLVM_DEBUGINFO_MSF_MSFCOMMON_H
char MagicBytes[sizeof(Magic)]
Error validateSuperBlock(const SuperBlock &SB)
uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize)
uint32_t getMinimumBlockCount()
uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew=0)
Returns the next integer (mod 2**64) that is greater than or equal to Value and is a multiple of Alig...
uint32_t getFpmIntervalLength(const MSFLayout &L)
support::ulittle32_t BlockSize
support::ulittle32_t BlockMapAddr
INITIALIZE_PASS(HexagonEarlyIfConversion,"hexagon-eif","Hexagon early if conversion", false, false) bool HexagonEarlyIfConversion MachineBasicBlock * SB
static const char Magic[]
support::ulittle32_t Unknown1
uint32_t getNumFpmIntervals(const MSFLayout &L)
static const int BlockSize
ArrayRef< support::ulittle32_t > DirectoryBlocks
uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize)
std::vector< ArrayRef< support::ulittle32_t > > StreamMap
uint32_t getFullFpmByteSize(const MSFLayout &L)
ArrayRef< support::ulittle32_t > StreamSizes
support::ulittle32_t FreeBlockMapBlock
Lightweight error class with error context and mandatory checking.
bool isValidBlockSize(uint32_t Size)
uint32_t getFirstUnreservedBlock()
support::ulittle32_t NumDirectoryBytes
support::ulittle32_t NumBlocks