LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
lib
Target
WebAssembly
WebAssemblyTargetObjectFile.cpp
Go to the documentation of this file.
1
//===-- WebAssemblyTargetObjectFile.cpp - WebAssembly 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
/// \file
11
/// \brief This file defines the functions of the WebAssembly-specific subclass
12
/// of TargetLoweringObjectFile.
13
///
14
//===----------------------------------------------------------------------===//
15
16
#include "
WebAssemblyTargetObjectFile.h
"
17
#include "
WebAssemblyTargetMachine.h
"
18
using namespace
llvm;
19
20
void
WebAssemblyTargetObjectFile::Initialize
(
MCContext
&Ctx,
21
const
TargetMachine
&
TM
) {
22
TargetLoweringObjectFileELF::Initialize
(Ctx, TM);
23
InitializeELF
(TM.
Options
.
UseInitArray
);
24
}
WebAssemblyTargetObjectFile.h
This file declares the WebAssembly-specific subclass of TargetLoweringObjectFile. ...
llvm::TargetLoweringObjectFile::Initialize
virtual void Initialize(MCContext &ctx, const TargetMachine &TM)
This method must be called before any actual lowering is done.
Definition:
TargetLoweringObjectFile.cpp:43
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:51
WebAssemblyTargetMachine.h
This file declares the WebAssembly-specific subclass of TargetMachine.
llvm::SystemZISD::TM
Definition:
SystemZISelLowering.h:68
llvm::TargetLoweringObjectFileELF::InitializeELF
void InitializeELF(bool UseInitArray_)
Definition:
TargetLoweringObjectFileImpl.cpp:458
llvm::WebAssemblyTargetObjectFile::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:
WebAssemblyTargetObjectFile.cpp:20
llvm::TargetOptions::UseInitArray
unsigned UseInitArray
UseInitArray - Use .init_array instead of .ctors for static constructors.
Definition:
TargetOptions.h:200
llvm::TargetMachine::Options
TargetOptions Options
Definition:
Target/TargetMachine.h:95
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
Target/TargetMachine.h:56
Generated on Wed Mar 8 2017 17:31:05 for LLVM by
1.8.6