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

1

2

3

4

5

6

7

8

9#ifndef LLVM_MC_MCGOFFOBJECTWRITER_H

10#define LLVM_MC_MCGOFFOBJECTWRITER_H

11

14

15namespace llvm {

18

20protected:

22

23public:

25

27

31};

32

34

35 std::unique_ptr TargetObjectWriter;

36

37

39

40public:

41 GOFFObjectWriter(std::unique_ptr MOTW,

44

45

48

50};

51

52

53

54

55

56

57std::unique_ptr

59 raw_pwrite_stream &OS);

60}

61

62#endif

PowerPC TLS Dynamic Call Fixup

GOFFObjectWriter(std::unique_ptr< MCGOFFObjectTargetWriter > MOTW, raw_pwrite_stream &OS)

uint64_t writeObject() override

Write the object file and returns the number of bytes written.

~GOFFObjectWriter() override

void recordRelocation(const MCFragment &F, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) override

Record a relocation entry.

Definition MCGOFFObjectWriter.h:46

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

MCGOFFObjectTargetWriter()=default

static bool classof(const MCObjectTargetWriter *W)

Definition MCGOFFObjectWriter.h:28

~MCGOFFObjectTargetWriter() override=default

Triple::ObjectFormatType getFormat() const override

Definition MCGOFFObjectWriter.h:26

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

Defines the object file and target independent interfaces used by the assembler backend to write nati...

Target - Wrapper for Target specific information.

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 > createGOFFObjectWriter(std::unique_ptr< MCGOFFObjectTargetWriter > MOTW, raw_pwrite_stream &OS)

Construct a new GOFF writer instance.