LLVM 22.0.0git
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 88 of file COFFImportFile.h.

◆ operator!=

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

Definition at line 124 of file COFFImportFile.h.

◆ operator==

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

Definition at line 118 of file COFFImportFile.h.

Member Data Documentation

◆ Constant

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

Definition at line 116 of file COFFImportFile.h.

◆ Data

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

Definition at line 114 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 110 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 96 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 106 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 92 of file COFFImportFile.h.

◆ Noname

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

Definition at line 113 of file COFFImportFile.h.

◆ Ordinal

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

Definition at line 112 of file COFFImportFile.h.

◆ Private

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

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


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