|
LLVM
5.0.0
|
#include "llvm/Object/WindowsResource.h"
Public Member Functions | |
| Expected< ResourceEntryRef > | getHeadEntry () |
Public Member Functions inherited from llvm::object::Binary | |
| Binary ()=delete | |
| Binary (const Binary &other)=delete | |
| virtual | ~Binary () |
| StringRef | getData () const |
| StringRef | getFileName () const |
| MemoryBufferRef | getMemoryBufferRef () const |
| unsigned int | getType () const |
| bool | isObject () const |
| bool | isSymbolic () const |
| bool | isArchive () const |
| bool | isMachOUniversalBinary () const |
| bool | isELF () const |
| bool | isMachO () const |
| bool | isCOFF () const |
| bool | isWasm () const |
| bool | isCOFFImportFile () const |
| bool | isIR () const |
| bool | isLittleEndian () const |
| bool | isWinRes () const |
| Triple::ObjectFormatType | getTripleObjectFormat () const |
Static Public Member Functions | |
| static bool | classof (const Binary *V) |
| static Expected < std::unique_ptr < WindowsResource > > | createWindowsResource (MemoryBufferRef Source) |
Friends | |
| class | ResourceEntryRef |
Additional Inherited Members | |
Protected Types inherited from llvm::object::Binary | |
| enum | { ID_Archive, ID_MachOUniversalBinary, ID_COFFImportFile, ID_IR, ID_StartObjects, ID_COFF, ID_ELF32L, ID_ELF32B, ID_ELF64L, ID_ELF64B, ID_MachO32L, ID_MachO32B, ID_MachO64L, ID_MachO64B, ID_WinRes, ID_Wasm, ID_EndObjects } |
Protected Member Functions inherited from llvm::object::Binary | |
| Binary (unsigned int Type, MemoryBufferRef Source) | |
Static Protected Member Functions inherited from llvm::object::Binary | |
| static unsigned int | getELFType (bool isLE, bool is64Bits) |
| static unsigned int | getMachOType (bool isLE, bool is64Bits) |
Protected Attributes inherited from llvm::object::Binary | |
| MemoryBufferRef | Data |
Definition at line 123 of file WindowsResource.h.
Definition at line 127 of file WindowsResource.h.
References llvm::object::Binary::isWinRes().
|
static |
Definition at line 50 of file WindowsResource.cpp.
References llvm::MemoryBufferRef::getBufferSize(), llvm::MipsISD::Ret, llvm::object::WIN_RES_MAGIC_SIZE, and llvm::object::WIN_RES_NULL_ENTRY_SIZE.
Referenced by llvm::object::createBinary().
| Expected< ResourceEntryRef > llvm::object::WindowsResource::getHeadEntry | ( | ) |
Definition at line 59 of file WindowsResource.cpp.
References llvm::Error::success().
Referenced by llvm::object::WindowsResourceParser::parse().
|
friend |
Definition at line 133 of file WindowsResource.h.
1.8.6