LLVM
8.0.1
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
This class represents lattice values for constants.
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:807
llvm::TargetOptions::UseInitArray
unsigned UseInitArray
UseInitArray - Use .init_array instead of .ctors for static constructors.
Definition:
TargetOptions.h:209
RISCVTargetObjectFile.h
llvm::TargetMachine::Options
TargetOptions Options
Definition:
TargetMachine.h:97
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 Sun Dec 20 2020 13:57:46 for LLVM by
1.8.13