llvm::AsmPrinter::emitGlobalConstant

Print LLVM constant CV to the assembly output.

Synopsis

Declared in <llvm/CodeGen/AsmPrinter.h>

void
emitGlobalConstant(
    DataLayout const& DL,
    Constant const* CV,
    AliasMapTy* AliasList = nullptr);

Description

On AIX, when an alias refers to a sub-element of a global variable, the label of that alias needs to be emitted before the corresponding element.

Parameters

NameDescription
DLData layout used while emitting the constant.
CVConstant to emit.
AliasListOptional map of aliases that must be emitted at offsets.