LLVM  4.0.0
Classes | Enumerations | Functions | Variables
llvm::msf Namespace Reference

Classes

struct  VarStreamArrayExtractor< codeview::CVRecord< Kind > >
 
struct  VarStreamArrayExtractor< codeview::ModuleSubstream >
 
class  VarStreamArrayExtractor< codeview::LineColumnEntry >
 
class  VarStreamArrayExtractor< codeview::FileChecksumEntry >
 
class  ByteStream
 
class  MemoryBufferByteStream
 
class  MutableByteStream
 
class  FileBufferByteStream
 
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...
 
struct  SequencedItemTraits
 
class  SequencedItemStream
 SequencedItemStream represents a sequence of objects stored in a standard container but for which it is useful to view as a stream of contiguous bytes. More...
 
struct  VarStreamArrayExtractor
 VarStreamArrayExtractor is intended to be specialized to provide customized extraction logic. More...
 
class  VarStreamArrayIterator
 VarStreamArray represents an array of variable length records backed by a stream. More...
 
class  VarStreamArray
 
class  FixedStreamArrayIterator
 
class  FixedStreamArray
 
class  ReadableStream
 
class  WritableStream
 
class  StreamReader
 
class  StreamRefBase
 
class  ReadableStreamRef
 
class  WritableStreamRef
 
class  StreamWriter
 
struct  VarStreamArrayExtractor< pdb::ModInfo >
 
struct  SequencedItemTraits< llvm::codeview::CVType >
 

Enumerations

enum  msf_error_code {
  msf_error_code::unspecified = 1, msf_error_code::insufficient_buffer, msf_error_code::not_writable, msf_error_code::no_stream,
  msf_error_code::invalid_format, msf_error_code::block_in_use
}
 

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 []
 

Enumeration Type Documentation

Enumerator
unspecified 
insufficient_buffer 
not_writable 
no_stream 
invalid_format 
block_in_use 

Definition at line 19 of file MSFError.h.

Function Documentation

uint64_t llvm::msf::blockToOffset ( uint64_t  BlockNumber,
uint64_t  BlockSize 
)
inline
uint64_t llvm::msf::bytesToBlocks ( uint64_t  NumBytes,
uint64_t  BlockSize 
)
inline
uint32_t llvm::msf::getFirstUnreservedBlock ( )
inline

Definition at line 77 of file MSFCommon.h.

uint32_t llvm::msf::getFpmIntervalLength ( const MSFLayout &  L)
inline
uint32_t llvm::msf::getFullFpmByteSize ( const MSFLayout &  L)
inline
uint32_t llvm::msf::getMinimumBlockCount ( )
inline

Definition at line 73 of file MSFCommon.h.

Referenced by llvm::msf::MSFBuilder::create().

uint32_t llvm::msf::getNumFpmIntervals ( const MSFLayout &  L)
inline
bool llvm::msf::isValidBlockSize ( uint32_t  Size)
inline

Definition at line 61 of file MSFCommon.h.

Referenced by llvm::msf::MSFBuilder::create(), and validateSuperBlock().

Error llvm::msf::validateSuperBlock ( const SuperBlock SB)

Variable Documentation

const char llvm::msf::Magic[]
static
Initial value:
= {'M', 'i', 'c', 'r', 'o', 's', 'o', 'f',
't', ' ', 'C', '/', 'C', '+', '+', ' ',
'M', 'S', 'F', ' ', '7', '.', '0', '0',
'\r', '\n', '\x1a', 'D', 'S', '\0', '\0', '\0'}

Definition at line 24 of file MSFCommon.h.

Referenced by llvm::msf::MSFBuilder::build(), and validateSuperBlock().