LLVM 19.0.0git
Classes | Namespaces | Typedefs | Functions
CVRecord.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/CodeViewError.h"
#include "llvm/DebugInfo/CodeView/RecordSerialization.h"
#include "llvm/Support/BinaryStreamReader.h"
#include "llvm/Support/BinaryStreamRef.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  llvm::codeview::CVRecord< Kind >
 CVRecord is a fat pointer (base + size pair) to a symbol or type record. More...
 
struct  llvm::VarStreamArrayExtractor< codeview::CVRecord< Kind > >
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::codeview
 

Typedefs

using llvm::codeview::CVType = CVRecord< TypeLeafKind >
 
using llvm::codeview::CVSymbol = CVRecord< SymbolKind >
 
using llvm::codeview::CVSymbolArray = VarStreamArray< CVSymbol >
 
using llvm::codeview::CVTypeArray = VarStreamArray< CVType >
 
using llvm::codeview::CVTypeRange = iterator_range< CVTypeArray::Iterator >
 

Functions

template<typename Record , typename Func >
Error llvm::codeview::forEachCodeViewRecord (ArrayRef< uint8_t > StreamBuffer, Func F)
 
template<typename Kind >
Expected< CVRecord< Kind > > llvm::codeview::readCVRecordFromStream (BinaryStreamRef Stream, uint32_t Offset)
 Read a complete record from a stream at a random offset.