LLVM: include/llvm/MC/MCXCOFFObjectWriter.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_MC_MCXCOFFOBJECTWRITER_H

10#define LLVM_MC_MCXCOFFOBJECTWRITER_H

11

13

14namespace llvm {

15

17

19protected:

21

22public:

24

29 bool is64Bit() const { return Is64Bit; }

30

31

32

33

34 virtual std::pair<uint8_t, uint8_t>

36 bool IsPCRel) const = 0;

37

38private:

39 bool Is64Bit;

40};

41

43

44 std::string CPUType;

45

46public:

48 unsigned LanguageCode, unsigned ReasonCode,

49 unsigned FunctionSize, bool hasDebug) = 0;

53};

54

55std::unique_ptr

57 raw_pwrite_stream &OS);

58

59}

60

61#endif

PowerPC TLS Dynamic Call Fixup

Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...

Base class for classes that define behaviour that is specific to both the target and the object forma...

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

bool is64Bit() const

Definition MCXCOFFObjectWriter.h:29

MCXCOFFObjectTargetWriter(bool Is64Bit)

static bool classof(const MCObjectTargetWriter *W)

Definition MCXCOFFObjectWriter.h:26

virtual std::pair< uint8_t, uint8_t > getRelocTypeAndSignSize(const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const =0

Triple::ObjectFormatType getFormat() const override

Definition MCXCOFFObjectWriter.h:25

~MCXCOFFObjectTargetWriter() override

StringRef - Represent a constant reference to a string, i.e.

Target - Wrapper for Target specific information.

void setCPU(StringRef TargetCPU)

Definition MCXCOFFObjectWriter.h:52

StringRef getCPUType() const

Definition MCXCOFFObjectWriter.h:51

virtual void addExceptionEntry(const MCSymbol *Symbol, const MCSymbol *Trap, unsigned LanguageCode, unsigned ReasonCode, unsigned FunctionSize, bool hasDebug)=0

virtual void addCInfoSymEntry(StringRef Name, StringRef Metadata)=0

An abstract base class for streams implementations that also support a pwrite operation.

This is an optimization pass for GlobalISel generic memory operations.

std::unique_ptr< MCObjectWriter > createXCOFFObjectWriter(std::unique_ptr< MCXCOFFObjectTargetWriter > MOTW, raw_pwrite_stream &OS)