LLVM  15.0.0git
DataExtractor.cpp File Reference
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/SwapByteOrder.h"
Include dependency graph for DataExtractor.cpp:

Go to the source code of this file.


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 

Definition at line 195 of file DataExtractor.cpp.

◆ isError()

static bool isError ( Error E)

Definition at line 37 of file DataExtractor.cpp.

References E.

Referenced by llvm::DataExtractor::skip().