LLVM
8.0.1
|
Public Member Functions | |
WindowsResourceCOFFWriter (COFF::MachineTypes MachineType, const WindowsResourceParser &Parser, Error &E) | |
std::unique_ptr< MemoryBuffer > | write () |
Definition at line 317 of file WindowsResource.cpp.
llvm::object::WindowsResourceCOFFWriter::WindowsResourceCOFFWriter | ( | COFF::MachineTypes | MachineType, |
const WindowsResourceParser & | Parser, | ||
Error & | E | ||
) |
Definition at line 356 of file WindowsResource.cpp.
References llvm::alignTo(), llvm::Data, llvm::WritableMemoryBuffer::getNewMemBuffer(), llvm::object::WindowsResourceParser::TreeNode::getTreeSize(), llvm::COFF::Header16Size, llvm::COFF::RelocationSize, llvm::COFF::SectionSize, llvm::ArrayRef< T >::size(), and llvm::COFF::Symbol16Size.
std::unique_ptr< MemoryBuffer > llvm::object::WindowsResourceCOFFWriter::write | ( | ) |
Definition at line 427 of file WindowsResource.cpp.
References llvm::alignTo(), llvm::object::coff_resource_dir_table::Characteristics, llvm::copy(), llvm::formatv(), llvm::object::WindowsResourceParser::TreeNode::getIDChildren(), llvm::object::WindowsResourceParser::TreeNode::getStringChildren(), llvm::object::getTime(), llvm::COFF::IMAGE_FILE_32BIT_MACHINE, llvm::COFF::IMAGE_SCN_CNT_INITIALIZED_DATA, llvm::COFF::IMAGE_SCN_MEM_READ, llvm::COFF::IMAGE_SYM_CLASS_STATIC, llvm::COFF::IMAGE_SYM_DTYPE_NULL, llvm::object::coff_aux_section_definition::Length, llvm::object::coff_file_header::Machine, llvm::Intrinsic::memcpy, llvm::Intrinsic::memset, llvm::COFF::NameSize, llvm::ArrayRef< T >::size(), llvm::ARMBuildAttrs::Symbol, and llvm::support::endian::write16le().
Referenced by llvm::object::writeWindowsResourceCOFF().