|
LLVM 22.0.0git
|
#include "ObjCopy/COFF/COFFObject.h"
Public Member Functions | |
| ArrayRef< Symbol > | getSymbols () const |
| iterator_range< std::vector< Symbol >::iterator > | getMutableSymbols () |
| const Symbol * | findSymbol (size_t UniqueId) const |
| void | addSymbols (ArrayRef< Symbol > NewSymbols) |
| Error | removeSymbols (function_ref< Expected< bool >(const Symbol &)> ToRemove) |
| Error | markSymbols () |
| ArrayRef< Section > | getSections () const |
| iterator_range< std::vector< Section >::iterator > | getMutableSections () |
| const Section * | findSection (ssize_t UniqueId) const |
| void | addSections (ArrayRef< Section > NewSections) |
| void | removeSections (function_ref< bool(const Section &)> ToRemove) |
| void | truncateSections (function_ref< bool(const Section &)> ToTruncate) |
Public Attributes | |
| bool | IsPE = false |
| object::dos_header | DosHeader |
| ArrayRef< uint8_t > | DosStub |
| object::coff_file_header | CoffFileHeader |
| bool | Is64 = false |
| object::pe32plus_header | PeHeader |
| uint32_t | BaseOfData = 0 |
| std::vector< object::data_directory > | DataDirectories |
Definition at line 96 of file COFFObject.h.
Definition at line 69 of file COFFObject.cpp.
Definition at line 18 of file COFFObject.cpp.
Definition at line 86 of file COFFObject.cpp.
Definition at line 34 of file COFFObject.cpp.
|
inline |
Definition at line 129 of file COFFObject.h.
References llvm::make_range().
|
inline |
Definition at line 113 of file COFFObject.h.
References llvm::make_range().
Definition at line 126 of file COFFObject.h.
Definition at line 110 of file COFFObject.h.
| Error llvm::objcopy::coff::Object::markSymbols | ( | ) |
Definition at line 54 of file COFFObject.cpp.
References llvm::createStringError(), and llvm::Error::success().
| void llvm::objcopy::coff::Object::removeSections | ( | function_ref< bool(const Section &)> | ToRemove | ) |
Definition at line 90 of file COFFObject.cpp.
References llvm::objcopy::coff::Symbol::AssociativeComdatTargetSectionId, llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::clear(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::contains(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::empty(), llvm::erase_if(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), llvm::objcopy::coff::Symbol::TargetSectionId, ToRemove, and llvm::objcopy::coff::Section::UniqueId.
| Error llvm::objcopy::coff::Object::removeSymbols | ( | function_ref< Expected< bool >(const Symbol &)> | ToRemove | ) |
Definition at line 38 of file COFFObject.cpp.
References llvm::erase_if(), llvm::joinErrors(), llvm::Error::success(), llvm::Expected< T >::takeError(), and ToRemove.
| void llvm::objcopy::coff::Object::truncateSections | ( | function_ref< bool(const Section &)> | ToTruncate | ) |
Definition at line 121 of file COFFObject.cpp.
| uint32_t llvm::objcopy::coff::Object::BaseOfData = 0 |
Definition at line 106 of file COFFObject.h.
| object::coff_file_header llvm::objcopy::coff::Object::CoffFileHeader |
Definition at line 102 of file COFFObject.h.
| std::vector<object::data_directory> llvm::objcopy::coff::Object::DataDirectories |
Definition at line 108 of file COFFObject.h.
| object::dos_header llvm::objcopy::coff::Object::DosHeader |
Definition at line 99 of file COFFObject.h.
Definition at line 100 of file COFFObject.h.
| bool llvm::objcopy::coff::Object::Is64 = false |
Definition at line 104 of file COFFObject.h.
| bool llvm::objcopy::coff::Object::IsPE = false |
Definition at line 97 of file COFFObject.h.
| object::pe32plus_header llvm::objcopy::coff::Object::PeHeader |
Definition at line 105 of file COFFObject.h.