LLVM 20.0.0git
|
#include "llvm/Object/WindowsResource.h"
Classes | |
struct | StringOrID |
class | TreeNode |
Public Member Functions | |
WindowsResourceParser (bool MinGW=false) | |
Error | parse (WindowsResource *WR, std::vector< std::string > &Duplicates) |
Error | parse (ResourceSectionRef &RSR, StringRef Filename, std::vector< std::string > &Duplicates) |
void | cleanUpManifests (std::vector< std::string > &Duplicates) |
void | printTree (raw_ostream &OS) const |
const TreeNode & | getTree () const |
ArrayRef< std::vector< uint8_t > > | getData () const |
ArrayRef< std::vector< UTF16 > > | getStringTable () const |
Definition at line 153 of file WindowsResource.h.
llvm::object::WindowsResourceParser::WindowsResourceParser | ( | bool | MinGW = false | ) |
Definition at line 139 of file WindowsResource.cpp.
void llvm::object::WindowsResourceParser::cleanUpManifests | ( | std::vector< std::string > & | Duplicates | ) |
Definition at line 262 of file WindowsResource.cpp.
Definition at line 163 of file WindowsResource.h.
|
inline |
Definition at line 164 of file WindowsResource.h.
Definition at line 162 of file WindowsResource.h.
Error llvm::object::WindowsResourceParser::parse | ( | ResourceSectionRef & | RSR, |
StringRef | Filename, | ||
std::vector< std::string > & | Duplicates | ||
) |
Definition at line 366 of file WindowsResource.cpp.
References llvm::object::ResourceSectionRef::getBaseTable(), and UNWRAP_REF_OR_RETURN.
Error llvm::object::WindowsResourceParser::parse | ( | WindowsResource * | WR, |
std::vector< std::string > & | Duplicates | ||
) |
Definition at line 328 of file WindowsResource.cpp.
References llvm::consumeError(), End, llvm::object::Binary::getFileName(), llvm::object::WindowsResource::getHeadEntry(), llvm::object::makeDuplicateResourceError(), RETURN_IF_ERROR, and llvm::Error::success().
void llvm::object::WindowsResourceParser::printTree | ( | raw_ostream & | OS | ) | const |
Definition at line 375 of file WindowsResource.cpp.
References OS, and llvm::object::WindowsResourceParser::TreeNode::print().