LLVM
7.0.0
lib
Target
RISCV
RISCVTargetObjectFile.cpp
Go to the documentation of this file.
1
//===-- RISCVTargetObjectFile.cpp - RISCV Object Info -----------------===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#include "
RISCVTargetObjectFile.h
"
11
#include "
RISCVTargetMachine.h
"
12
13
using namespace
llvm
;
14
15
void
RISCVELFTargetObjectFile::Initialize(
MCContext
&Ctx,
16
const
TargetMachine
&
TM
) {
17
TargetLoweringObjectFileELF::Initialize
(Ctx, TM);
18
InitializeELF
(TM.
Options
.
UseInitArray
);
19
}
llvm
Compute iterated dominance frontiers using a linear time algorithm.
Definition:
AllocatorList.h:24
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:63
llvm::SystemZISD::TM
Definition:
SystemZISelLowering.h:68
llvm::TargetLoweringObjectFileELF::InitializeELF
void InitializeELF(bool UseInitArray_)
Definition:
TargetLoweringObjectFileImpl.cpp:644
llvm::TargetOptions::UseInitArray
unsigned UseInitArray
UseInitArray - Use .init_array instead of .ctors for static constructors.
Definition:
TargetOptions.h:197
RISCVTargetObjectFile.h
llvm::TargetMachine::Options
TargetOptions Options
Definition:
TargetMachine.h:98
RISCVTargetMachine.h
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
TargetMachine.h:59
llvm::TargetLoweringObjectFileELF::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:
TargetLoweringObjectFileImpl.cpp:94
Generated on Thu Aug 23 2018 18:55:51 for LLVM by
1.8.13