LLVM: lib/Target/X86/X86TargetObjectFile.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

15

16using namespace llvm;

17using namespace dwarf;

18

22

23

24

26 const MCSymbol *Sym = TM.getSymbol(GV);

31 }

32

34 GV, Encoding, TM, MMI, Streamer);

35}

36

40 return TM.getSymbol(GV);

41}

42

55

59

64

This file contains constants used for implementing Dwarf debug support.

static const MCBinaryExpr * createAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx, SMLoc Loc=SMLoc())

static LLVM_ABI const MCConstantExpr * create(int64_t Value, MCContext &Ctx, bool PrintInHex=false, unsigned SizeInBytes=0)

Base class for the full range of assembler expressions which are needed for parsing.

MCContext & getContext() const

Streaming machine code generation interface.

static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx, SMLoc Loc=SMLoc())

MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...

int64_t getConstant() const

This class contains meta information specific to a module.

uint16_t PLTRelativeSpecifier

const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override

The mach-o version of this method defaults to returning a stub reference.

Primary interface to the complete machine description for the target machine.

const MCExpr * getDebugThreadLocalSymbol(const MCSymbol *Sym) const override

Describe a TLS variable address within debug info.

Definition X86TargetObjectFile.cpp:60

X86ELFTargetObjectFile()

Definition X86TargetObjectFile.cpp:56

const MCExpr * getIndirectSymViaGOTPCRel(const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const override

Get the target specific PC relative GOT entry relocation.

Definition X86TargetObjectFile.cpp:65

const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override

The mach-o version of this method defaults to returning a stub reference.

Definition X86TargetObjectFile.cpp:19

MCSymbol * getCFIPersonalitySymbol(const GlobalValue *GV, const TargetMachine &TM, MachineModuleInfo *MMI) const override

Definition X86TargetObjectFile.cpp:37

const MCExpr * getIndirectSymViaGOTPCRel(const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const override

Get MachO PC relative GOT entry relocation.

Definition X86TargetObjectFile.cpp:43

Calculates the starting offsets for various sections within the .debug_names section.

This is an optimization pass for GlobalISel generic memory operations.