LLVM 20.0.0git
Functions
DXContainer.cpp File Reference
#include "llvm/Object/DXContainer.h"
#include "llvm/BinaryFormat/DXContainer.h"
#include "llvm/Object/Error.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/FormatVariadic.h"

Go to the source code of this file.

Functions

static Error parseFailed (const Twine &Msg)
 
template<typename T >
static Error readStruct (StringRef Buffer, const char *Src, T &Struct)
 
template<typename T >
static Error readInteger (StringRef Buffer, const char *Src, T &Val, Twine Str="structure")
 

Function Documentation

◆ parseFailed()

static Error parseFailed ( const Twine Msg)
static

◆ readInteger()

template<typename T >
static Error readInteger ( StringRef  Buffer,
const char Src,
T Val,
Twine  Str = "structure" 
)
static

◆ readStruct()

template<typename T >
static Error readStruct ( StringRef  Buffer,
const char Src,
T Struct 
)
static