Go to the documentation of this file.
16 #ifndef LLVM_OBJECT_COFFIMPORTFILE_H
17 #define LLVM_OBJECT_COFFIMPORTFILE_H
55 Symb.
p = isData() ? 1 : 2;
95 return L.
Name == R.Name && L.
ExtName == R.ExtName &&
friend bool operator==(const COFFShortExport &L, const COFFShortExport &R)
const char * getBufferStart() const
This is an optimization pass for GlobalISel generic memory operations.
static bool classof(Binary const *V)
basic_symbol_iterator symbol_end() const override
static ErrorSuccess success()
Create a success value.
std::string ExtName
The external, exported name.
Tagged union holding either a T or a Error.
friend bool operator!=(const COFFShortExport &L, const COFFShortExport &R)
const coff_import_header * getCOFFImportHeader() const
This is a value type class that represents a single symbol in the list of symbols in the object file.
std::string SymbolName
The real, mangled symbol name from the object file.
bool isCOFFImportFile() const
This class implements an extremely fast bulk output stream that can only output to a stream.
bar al al movzbl eax ret Missed when stored in a memory object
This is an important base class in LLVM.
basic_symbol_iterator symbol_begin() const override
std::string Name
The name of the export as specified in the .def file or on the command line, i.e.
Error writeImportLibrary(StringRef ImportName, StringRef Path, ArrayRef< COFFShortExport > Exports, COFF::MachineTypes Machine, bool MinGW)
void moveSymbolNext(DataRefImpl &Symb) const override
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override
Lightweight error class with error context and mandatory checking.
COFFImportFile(MemoryBufferRef Source)
Expected< uint32_t > getSymbolFlags(DataRefImpl Symb) const override
COFF::MachineTypes Machine
std::string AliasTarget
Creates a weak alias.