LLVM 20.0.0git
|
#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)) |
|
static |
Definition at line 196 of file DataExtractor.cpp.
References assert(), llvm::createStringError(), llvm::ArrayRef< T >::data(), llvm::Data, llvm::ArrayRef< T >::end(), error, llvm::illegal_byte_sequence, isError(), and llvm::ArrayRef< T >::size().
Referenced by llvm::DataExtractor::getSLEB128(), and llvm::DataExtractor::getULEB128().
Definition at line 38 of file DataExtractor.cpp.
Referenced by llvm::DataExtractor::getBytes(), llvm::DataExtractor::getCStrRef(), getLEB128(), and llvm::DataExtractor::skip().