|
LLVM
5.0.0
|
Classes | |
| class | IMSFFile |
| class | MappedBlockStream |
| MappedBlockStream represents data stored in an MSF file into chunks of a particular size (called the Block Size), and whose chunks may not be necessarily contiguous. More... | |
| class | WritableMappedBlockStream |
| class | MSFBuilder |
| struct | SuperBlock |
| struct | MSFLayout |
| class | MSFError |
| Base class for errors originating when parsing raw PDB files. More... | |
| class | MSFStreamLayout |
| Describes the layout of a stream in an MSF layout. More... | |
Functions | |
| bool | isValidBlockSize (uint32_t Size) |
| uint32_t | getMinimumBlockCount () |
| uint32_t | getFirstUnreservedBlock () |
| uint64_t | bytesToBlocks (uint64_t NumBytes, uint64_t BlockSize) |
| uint64_t | blockToOffset (uint64_t BlockNumber, uint64_t BlockSize) |
| uint32_t | getFpmIntervalLength (const MSFLayout &L) |
| uint32_t | getNumFpmIntervals (const MSFLayout &L) |
| uint32_t | getFullFpmByteSize (const MSFLayout &L) |
| Error | validateSuperBlock (const SuperBlock &SB) |
Variables | |
| static const char | Magic [] |
|
strong |
| Enumerator | |
|---|---|
| unspecified | |
| insufficient_buffer | |
| not_writable | |
| no_stream | |
| invalid_format | |
| block_in_use | |
Definition at line 19 of file MSFError.h.
|
inline |
Definition at line 84 of file MSFCommon.h.
References BlockSize.
Referenced by llvm::pdb::PDBFileBuilder::commit(), llvm::pdb::PDBFile::getBlockData(), llvm::msf::MappedBlockStream::readLongestContiguousChunk(), and llvm::msf::WritableMappedBlockStream::writeBytes().
|
inline |
Definition at line 80 of file MSFCommon.h.
References llvm::alignTo(), and BlockSize.
Referenced by llvm::msf::MSFBuilder::addStream(), llvm::msf::MSFBuilder::build(), llvm::pdb::PDBFile::getNumDirectoryBlocks(), llvm::pdb::PDBFile::parseStreamData(), llvm::msf::MSFBuilder::setStreamSize(), and validateSuperBlock().
|
inline |
Definition at line 78 of file MSFCommon.h.
Definition at line 88 of file MSFCommon.h.
References llvm::msf::SuperBlock::BlockSize, and llvm::msf::MSFLayout::SB.
Referenced by getNumFpmIntervals(), and initializeFpmStreamLayout().
Definition at line 97 of file MSFCommon.h.
References llvm::alignTo(), llvm::msf::SuperBlock::NumBlocks, and llvm::msf::MSFLayout::SB.
Referenced by initializeFpmStreamLayout(), and llvm::pdb::PDBFile::parseFileHeaders().
|
inline |
Definition at line 74 of file MSFCommon.h.
Referenced by llvm::msf::MSFBuilder::create().
Definition at line 92 of file MSFCommon.h.
References llvm::alignTo(), getFpmIntervalLength(), llvm::msf::SuperBlock::NumBlocks, and llvm::msf::MSFLayout::SB.
Referenced by initializeFpmStreamLayout().
Definition at line 62 of file MSFCommon.h.
Referenced by llvm::msf::MSFBuilder::create(), and validateSuperBlock().
| Error llvm::msf::validateSuperBlock | ( | const SuperBlock & | SB | ) |
Definition at line 20 of file MSFCommon.cpp.
References llvm::msf::SuperBlock::BlockMapAddr, llvm::msf::SuperBlock::BlockSize, bytesToBlocks(), llvm::msf::SuperBlock::FreeBlockMapBlock, invalid_format, isValidBlockSize(), Magic, llvm::msf::SuperBlock::MagicBytes, llvm::msf::SuperBlock::NumBlocks, llvm::msf::SuperBlock::NumDirectoryBytes, and llvm::Error::success().
Referenced by llvm::pdb::PDBFile::parseFileHeaders().
Definition at line 24 of file MSFCommon.h.
Referenced by llvm::msf::MSFBuilder::build(), and validateSuperBlock().
1.8.6