llvm::TargetLoweringObjectFile::Initialize

Initialize lowering state for the given MC context and target machine.

Synopsis

Declared in <llvm/Target/TargetLoweringObjectFile.h>

virtual
void
Initialize(
    MCContext& ctx,
    TargetMachine const& TM);

Description

This method must be called before any actual lowering is done. This specifies the current context for codegen, and gives the lowering implementations a chance to set up their default sections.

Parameters

NameDescription
ctxMC context used for section and symbol creation.
TMTarget machine whose object-file conventions apply.