LLVM: lib/ExecutionEngine/JITLink/XCOFF.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

16

17using namespace llvm;

18

19#define DEBUG_TYPE "jitlink"

20

21namespace llvm {

23

26 std::shared_ptrorc::SymbolStringPool SSP) {

27

31

32

33

35}

36

38 std::unique_ptr Ctx) {

40}

41

42}

43}

Tagged union holding either a T or a Error.

StringRef getBuffer() const

Expected< std::unique_ptr< LinkGraph > > createLinkGraphFromXCOFFObject(MemoryBufferRef ObjectBuffer, std::shared_ptr< orc::SymbolStringPool > SSP)

Create a LinkGraph from an XCOFF relocatable object.

Definition XCOFF.cpp:25

Expected< std::unique_ptr< LinkGraph > > createLinkGraphFromXCOFFObject_ppc64(MemoryBufferRef ObjectBuffer, std::shared_ptr< orc::SymbolStringPool > SSP)

Create a LinkGraph from an XCOFF/ppc64 relocatable object.

void link_XCOFF_ppc64(std::unique_ptr< LinkGraph > G, std::unique_ptr< JITLinkContext > Ctx)

jit-link the given object buffer, which must be a XCOFF ppc64 object file.

void link_XCOFF(std::unique_ptr< LinkGraph > G, std::unique_ptr< JITLinkContext > Ctx)

Link the given graph.

Definition XCOFF.cpp:37

This is an optimization pass for GlobalISel generic memory operations.

LLVM_ABI file_magic identify_magic(StringRef magic)

Identify the type of a binary file based on how magical it is.

Error make_error(ArgTs &&... Args)

Make a Error instance representing failure using the given error info type.

file_magic - An "enum class" enumeration of file types based on magic (the first N bytes of the file)...

@ xcoff_object_64

64-bit XCOFF object file