LLVM 20.0.0git
Functions
DataExtractor.cpp File Reference
#include "llvm/Support/DataExtractor.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/SwapByteOrder.h"

Go to the source code of this file.

Functions

static bool isError (Error *E)
 
template<typename T >
static T getLEB128 (StringRef Data, uint64_t *OffsetPtr, Error *Err, T(&Decoder)(const uint8_t *p, unsigned *n, const uint8_t *end, const char **error))
 

Function Documentation

◆ getLEB128()

template<typename T >
static T getLEB128 ( StringRef  Data,
uint64_t OffsetPtr,
Error Err,
T(&)(const uint8_t *p, unsigned *n, const uint8_t *end, const char **error Decoder 
)
static

◆ isError()

static bool isError ( Error E)
static