LLVM 20.0.0git
Public Attributes | Friends | List of all members
llvm::object::COFFShortExport Struct Reference

#include "llvm/Object/COFFImportFile.h"

Public Attributes

std::string Name
 The name of the export as specified in the .def file or on the command line, i.e.
 
std::string ExtName
 The external, exported name.
 
std::string SymbolName
 The real, mangled symbol name from the object file.
 
std::string ImportName
 Creates an import library entry that imports from a DLL export with a different name.
 
std::string ExportAs
 Specifies EXPORTAS name.
 
uint16_t Ordinal = 0
 
bool Noname = false
 
bool Data = false
 
bool Private = false
 
bool Constant = false
 

Friends

bool operator== (const COFFShortExport &L, const COFFShortExport &R)
 
bool operator!= (const COFFShortExport &L, const COFFShortExport &R)
 

Detailed Description

Definition at line 87 of file COFFImportFile.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const COFFShortExport L,
const COFFShortExport R 
)
friend

Definition at line 123 of file COFFImportFile.h.

◆ operator==

bool operator== ( const COFFShortExport L,
const COFFShortExport R 
)
friend

Definition at line 117 of file COFFImportFile.h.

Member Data Documentation

◆ Constant

bool llvm::object::COFFShortExport::Constant = false

Definition at line 115 of file COFFImportFile.h.

◆ Data

bool llvm::object::COFFShortExport::Data = false

Definition at line 113 of file COFFImportFile.h.

◆ ExportAs

std::string llvm::object::COFFShortExport::ExportAs

Specifies EXPORTAS name.

In a .def file, this is "bar" in "EXPORTS\nfoo EXPORTAS bar".

Definition at line 109 of file COFFImportFile.h.

◆ ExtName

std::string llvm::object::COFFShortExport::ExtName

The external, exported name.

Only non-empty when export renaming is in effect, i.e. "foo" in "/EXPORT:foo=bar".

Definition at line 95 of file COFFImportFile.h.

◆ ImportName

std::string llvm::object::COFFShortExport::ImportName

Creates an import library entry that imports from a DLL export with a different name.

This is the name of the DLL export that should be referenced when linking against this import library entry. In a .def file, this is "baz" in "EXPORTS\nfoo = bar == baz".

Definition at line 105 of file COFFImportFile.h.

Referenced by llvm::dlltoolDriverMain().

◆ Name

std::string llvm::object::COFFShortExport::Name

The name of the export as specified in the .def file or on the command line, i.e.

"foo" in "/EXPORT:foo", and "bar" in "/EXPORT:foo=bar". This may lack mangling, such as underscore prefixing and stdcall suffixing.

Definition at line 91 of file COFFImportFile.h.

Referenced by llvm::dlltoolDriverMain().

◆ Noname

bool llvm::object::COFFShortExport::Noname = false

Definition at line 112 of file COFFImportFile.h.

◆ Ordinal

uint16_t llvm::object::COFFShortExport::Ordinal = 0

Definition at line 111 of file COFFImportFile.h.

◆ Private

bool llvm::object::COFFShortExport::Private = false

Definition at line 114 of file COFFImportFile.h.

◆ SymbolName

std::string llvm::object::COFFShortExport::SymbolName

The real, mangled symbol name from the object file.

Given "/export:foo=bar", this could be "_bar@8" if bar is stdcall.

Definition at line 99 of file COFFImportFile.h.

Referenced by llvm::dlltoolDriverMain().


The documentation for this struct was generated from the following file: