LLVM  15.0.0git
llvm::lto::SymbolResolution Struct Reference

The resolution for a symbol. More...

#include "llvm/LTO/LTO.h"

Collaboration diagram for llvm::lto::SymbolResolution:
[legend]

## Public Member Functions

SymbolResolution ()

## Public Attributes

unsigned Prevailing: 1
The linker has chosen this definition of the symbol. More...

The definition of this symbol is unpreemptable at runtime and is known to be in this linkage unit. More...

unsigned VisibleToRegularObj: 1
The definition of this symbol is visible outside of the LTO unit. More...

unsigned ExportDynamic: 1
The symbol was exported dynamically, and therefore could be referenced by a shared library not visible to the linker. More...

Linker redefined version of the symbol which appeared in -wrap or -defsym linker option. More...

## Detailed Description

The resolution for a symbol.

The linker must provide a SymbolResolution for each global symbol based on its internal resolution of that symbol.

Definition at line 421 of file LTO.h.

## ◆ SymbolResolution()

 llvm::lto::SymbolResolution::SymbolResolution ( )
inline

Definition at line 422 of file LTO.h.

## ◆ ExportDynamic

 unsigned llvm::lto::SymbolResolution::ExportDynamic

The symbol was exported dynamically, and therefore could be referenced by a shared library not visible to the linker.

Definition at line 438 of file LTO.h.

Referenced by llvm::lto::LTO::run().

The definition of this symbol is unpreemptable at runtime and is known to be in this linkage unit.

Definition at line 431 of file LTO.h.

Referenced by writeToResolutionFile().

Linker redefined version of the symbol which appeared in -wrap or -defsym linker option.

Definition at line 442 of file LTO.h.

Referenced by writeToResolutionFile().

## ◆ Prevailing

 unsigned llvm::lto::SymbolResolution::Prevailing

The linker has chosen this definition of the symbol.

Definition at line 427 of file LTO.h.

Referenced by llvm::lto::LTO::run(), and writeToResolutionFile().

## ◆ VisibleToRegularObj

 unsigned llvm::lto::SymbolResolution::VisibleToRegularObj

The definition of this symbol is visible outside of the LTO unit.

Definition at line 434 of file LTO.h.

Referenced by writeToResolutionFile().

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