struct LTO::GlobalResolution

Declaration

struct LTO::GlobalResolution { /* full declaration omitted */ };

Declared at: llvm/include/llvm/LTO/LTO.h:336

Member Variables

public std::string IRName
The unmangled name of the global.
public bool VisibleOutsideSummary = false
Keep track if the symbol is visible outside of a module with a summary (i.e. in either a regular object or a regular LTO module without a summary).
public bool ExportDynamic = false
The symbol was exported dynamically, and therefore could be referenced by a shared library not visible to the linker.
public bool UnnamedAddr = true
public bool Prevailing = false
True if module contains the prevailing definition.
public unsigned int Partition = Unknown
Partitions generally have a one-to-one correspondence with tasks, except that we use partition 0 for all parallel LTO code generation partitions. Any partitioning of the combined LTO object is done internally by the LTO backend.

Method Overview

Methods

ΒΆbool isPrevailingIRSymbol() const

Description

Returns true if module contains the prevailing definition and symbol is an IR symbol. For example when module-level inline asm block is used, symbol can be prevailing in module but have no IR name.

Declared at: llvm/include/llvm/LTO/LTO.h:357