LLVM 19.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 AliasTarget
 Creates a weak alias.
 
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 105 of file COFFImportFile.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 139 of file COFFImportFile.h.

◆ operator==

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

Definition at line 133 of file COFFImportFile.h.

Member Data Documentation

◆ AliasTarget

std::string llvm::object::COFFShortExport::AliasTarget

Creates a weak alias.

This is the name of the weak aliasee. In a .def file, this is "baz" in "EXPORTS\nfoo = bar == baz".

Definition at line 121 of file COFFImportFile.h.

Referenced by llvm::dlltoolDriverMain().

◆ Constant

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

Definition at line 131 of file COFFImportFile.h.

◆ Data

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

Definition at line 129 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 125 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 113 of file COFFImportFile.h.

◆ 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 109 of file COFFImportFile.h.

Referenced by llvm::dlltoolDriverMain().

◆ Noname

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

Definition at line 128 of file COFFImportFile.h.

◆ Ordinal

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

Definition at line 127 of file COFFImportFile.h.

◆ Private

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

Definition at line 130 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 117 of file COFFImportFile.h.

Referenced by llvm::dlltoolDriverMain().


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