llvm::GlobalValue::isStrongDefinitionForLinker

Returns true if this global's definition will be the one chosen by the linker.

Synopsis

Declared in <llvm/IR/GlobalValue.h>

bool
isStrongDefinitionForLinker() const;

Description

NB! Ideally this should not be used at the IR level at all. If you're interested in optimization constraints implied by the linker's ability to choose an implementation, prefer using hasExactDefinition.

Return Value

True if the linker will choose this global's definition.