|
LLVM 22.0.0git
|
The resolution for a symbol. More...
#include "llvm/LTO/LTO.h"
Public Member Functions | |
| SymbolResolution () | |
Public Attributes | |
| unsigned | Prevailing: 1 |
| The linker has chosen this definition of the symbol. | |
| unsigned | FinalDefinitionInLinkageUnit: 1 |
| The definition of this symbol is unpreemptable at runtime and is known to be in this linkage unit. | |
| unsigned | VisibleToRegularObj: 1 |
| The definition of this symbol is visible outside of the LTO unit. | |
| unsigned | ExportDynamic: 1 |
| The symbol was exported dynamically, and therefore could be referenced by a shared library not visible to the linker. | |
| unsigned | LinkerRedefined: 1 |
| Linker redefined version of the symbol which appeared in -wrap or -defsym linker option. | |
The resolution for a symbol.
The linker must provide a SymbolResolution for each global symbol based on its internal resolution of that symbol.
|
inline |
Definition at line 599 of file LTO.h.
References ExportDynamic, FinalDefinitionInLinkageUnit, LinkerRedefined, Prevailing, and VisibleToRegularObj.
| 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 615 of file LTO.h.
Referenced by SymbolResolution().
| unsigned llvm::lto::SymbolResolution::FinalDefinitionInLinkageUnit |
The definition of this symbol is unpreemptable at runtime and is known to be in this linkage unit.
Definition at line 608 of file LTO.h.
Referenced by SymbolResolution(), and writeToResolutionFile().
| unsigned llvm::lto::SymbolResolution::LinkerRedefined |
Linker redefined version of the symbol which appeared in -wrap or -defsym linker option.
Definition at line 619 of file LTO.h.
Referenced by SymbolResolution(), and writeToResolutionFile().
| unsigned llvm::lto::SymbolResolution::Prevailing |
The linker has chosen this definition of the symbol.
Definition at line 604 of file LTO.h.
Referenced by SymbolResolution(), and writeToResolutionFile().
| unsigned llvm::lto::SymbolResolution::VisibleToRegularObj |
The definition of this symbol is visible outside of the LTO unit.
Definition at line 611 of file LTO.h.
Referenced by SymbolResolution(), and writeToResolutionFile().