LLVM: include/llvm/Object/RelocationResolver.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef LLVM_OBJECT_RELOCATIONRESOLVER_H

16#define LLVM_OBJECT_RELOCATIONRESOLVER_H

17

19#include

20#include

21

22namespace llvm {

24

27

31 int64_t Addend);

32

33LLVM_ABI std::pair<SupportsRelocation, RelocationResolver>

35

39

40}

41}

42

43#endif

Interface for looking up the initializer for a variable name, used by Init::resolveReferences.

The instances of the Type class are immutable: once they are created, they are never changed.

This class is the base class for all object file types.

This is a value type class that represents a single relocation in the list of relocations in the obje...

LLVM_ABI uint64_t resolveRelocation(RelocationResolver Resolver, const RelocationRef &R, uint64_t S, uint64_t LocData)

uint64_t(*)(uint64_t Type, uint64_t Offset, uint64_t S, uint64_t LocData, int64_t Addend) RelocationResolver

Definition RelocationResolver.h:29

LLVM_ABI std::pair< SupportsRelocation, RelocationResolver > getRelocationResolver(const ObjectFile &Obj)

bool(*)(uint64_t) SupportsRelocation

Definition RelocationResolver.h:28

This is an optimization pass for GlobalISel generic memory operations.