LLVM
20.0.0git
lib
Target
CSKY
CSKYTargetObjectFile.cpp
Go to the documentation of this file.
1
//===-- CSKYTargetObjectFile.h - CSKY Object Info -*- C++ ---------------*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include "
CSKYTargetObjectFile.h
"
10
#include "
CSKYTargetMachine.h
"
11
#include "
llvm/BinaryFormat/Dwarf.h
"
12
#include "
llvm/CodeGen/MachineFrameInfo.h
"
13
14
using namespace
llvm
;
15
16
void
CSKYELFTargetObjectFile::Initialize
(
MCContext
&Ctx,
17
const
TargetMachine
&TM) {
18
TargetLoweringObjectFileELF::Initialize
(Ctx,
TM
);
19
20
LSDAEncoding
=
dwarf::DW_EH_PE_pcrel
|
dwarf::DW_EH_PE_sdata4
;
21
PersonalityEncoding
=
22
dwarf::DW_EH_PE_indirect
|
dwarf::DW_EH_PE_pcrel
|
dwarf::DW_EH_PE_sdata4
;
23
TTypeEncoding
=
24
dwarf::DW_EH_PE_indirect
|
dwarf::DW_EH_PE_pcrel
|
dwarf::DW_EH_PE_sdata4
;
25
}
CSKYTargetMachine.h
CSKYTargetObjectFile.h
Dwarf.h
This file contains constants used for implementing Dwarf debug support.
MachineFrameInfo.h
llvm::CSKYELFTargetObjectFile::Initialize
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
Definition:
CSKYTargetObjectFile.cpp:16
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
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:121
llvm::TargetLoweringObjectFile::PersonalityEncoding
unsigned PersonalityEncoding
PersonalityEncoding, LSDAEncoding, TTypeEncoding - Some encoding values for EH.
Definition:
TargetLoweringObjectFile.h:57
llvm::TargetLoweringObjectFile::TM
const TargetMachine * TM
Definition:
TargetLoweringObjectFile.h:68
llvm::TargetLoweringObjectFile::LSDAEncoding
unsigned LSDAEncoding
Definition:
TargetLoweringObjectFile.h:58
llvm::TargetLoweringObjectFile::TTypeEncoding
unsigned TTypeEncoding
Definition:
TargetLoweringObjectFile.h:59
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition:
TargetMachine.h:77
llvm::dwarf::DW_EH_PE_pcrel
@ DW_EH_PE_pcrel
Definition:
Dwarf.h:858
llvm::dwarf::DW_EH_PE_sdata4
@ DW_EH_PE_sdata4
Definition:
Dwarf.h:855
llvm::dwarf::DW_EH_PE_indirect
@ DW_EH_PE_indirect
Definition:
Dwarf.h:863
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Wed Dec 25 2024 15:16:24 for LLVM by
1.9.6