llvm::nameUnamedGlobals

Rename all the anon globals in the module using a hash computed from the list of public globals in the module.

Synopsis

Declared in <llvm/Transforms/Utils/ModuleUtils.h>

bool
nameUnamedGlobals(Module& M);

Return Value

True if any anonymous globals were renamed.

Parameters

NameDescription
MModule whose anonymous globals are renamed.