enum GlobalValue::LinkageTypes

Description

An enumeration for the kinds of linkage for global values.

Declared at: llvm/include/llvm/IR/GlobalValue.h:47

Enumerators

NameValueComment
ExternalLinkage0Externally visible function
AvailableExternallyLinkage1Available for inspection, not emission.
LinkOnceAnyLinkage2Keep one copy of function when linking (inline)
LinkOnceODRLinkage3Same, but only replaced by something equivalent.
WeakAnyLinkage4Keep one copy of named function when linking (weak)
WeakODRLinkage5Same, but only replaced by something equivalent.
AppendingLinkage6Special purpose, only applies to global arrays
InternalLinkage7Rename collisions when linking (static functions).
PrivateLinkage8Like Internal, but omit from symbol table.
ExternalWeakLinkage9ExternalWeak linkage description.
CommonLinkage10Tentative definitions.