|
LLVM 23.0.0git
|
#include "llvm/Object/DXContainer.h"#include "llvm/BinaryFormat/DXContainer.h"#include "llvm/Object/Error.h"#include "llvm/Support/Endian.h"#include "llvm/Support/FormatVariadic.h"#include "llvm/TargetParser/SubtargetFeature.h"Go to the source code of this file.
Classes | |
| class | DXNotSupportedError |
Functions | |
| static Error | parseFailed (const Twine &Msg) |
| static bool | readIsOutOfBounds (StringRef Buffer, const char *Src, size_t Size) |
| 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") |
| static Error | readString (StringRef Buffer, const char *&Src, size_t MaxSize, StringRef &Val, Twine Desc) |
Definition at line 19 of file DXContainer.cpp.
References llvm::make_error(), llvm::object::parse_failed, and llvm::Twine::str().
Referenced by readInteger(), readString(), and readStruct().
|
static |
Definition at line 41 of file DXContainer.cpp.
References llvm::sys::IsBigEndianHost, parseFailed(), readIsOutOfBounds(), llvm::Error::success(), llvm::sys::swapByteOrder(), and T.
Referenced by llvm::object::DirectX::PSVRuntimeInfo::parse().
Definition at line 23 of file DXContainer.cpp.
References llvm::StringRef::begin(), llvm::StringRef::end(), and Size.
Referenced by readInteger(), readString(), and readStruct().
|
static |
Definition at line 62 of file DXContainer.cpp.
References llvm::StringRef::data(), llvm::StringRef::find(), llvm::Length, llvm::StringRef::npos, parseFailed(), readIsOutOfBounds(), llvm::StringRef::substr(), and llvm::Error::success().
Referenced by readSection().
Definition at line 28 of file DXContainer.cpp.
References llvm::sys::IsBigEndianHost, parseFailed(), readIsOutOfBounds(), llvm::Error::success(), and T.
Referenced by llvm::object::DirectX::Signature::initialize(), and llvm::object::DirectX::PSVRuntimeInfo::parse().