LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::lto::SymbolResolution Struct Reference

The resolution for a symbol. More...

#include "llvm/LTO/LTO.h"

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

Public Member Functions

 SymbolResolution ()
 

Public Attributes

unsigned Prevailing: 1
 The linker has chosen this definition of the symbol. More...
 
unsigned FinalDefinitionInLinkageUnit: 1
 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 LinkerRedefined: 1
 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 383 of file LTO.h.

Constructor & Destructor Documentation

◆ SymbolResolution()

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

Definition at line 384 of file LTO.h.

Member Data Documentation

◆ FinalDefinitionInLinkageUnit

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 393 of file LTO.h.

◆ LinkerRedefined

unsigned llvm::lto::SymbolResolution::LinkerRedefined

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

Definition at line 400 of file LTO.h.

Referenced by handleNonPrevailingComdat(), and llvm::lto::LTO::LTO().

◆ Prevailing

unsigned llvm::lto::SymbolResolution::Prevailing

The linker has chosen this definition of the symbol.

Definition at line 389 of file LTO.h.

Referenced by handleNonPrevailingComdat(), and llvm::lto::LTO::LTO().

◆ VisibleToRegularObj

unsigned llvm::lto::SymbolResolution::VisibleToRegularObj

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

Definition at line 396 of file LTO.h.

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


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