LLVM: include/llvm/DebugInfo/GSYM/MergedFunctionsInfo.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_GSYM_MERGEDFUNCTIONSINFO_H

10#define LLVM_DEBUGINFO_GSYM_MERGEDFUNCTIONSINFO_H

11

15#include <stdint.h>

16#include

17

18namespace llvm {

20

21namespace gsym {

22

27

29

30

31

32

34

35

36

37

38

39

40

41

42

43

46

47

48

49

50

51

52

53

54

55

56

59

60

61

62

63

64

65

67};

68

71

72}

73}

74

75#endif

Lightweight error class with error context and mandatory checking.

Tagged union holding either a T or a Error.

A simplified binary data writer class that doesn't require targets, target definitions,...

GsymReader is used to read GSYM data from a file or buffer.

This class implements an extremely fast bulk output stream that can only output to a stream.

bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS)

This is an optimization pass for GlobalISel generic memory operations.

FunctionAddr VTableAddr uintptr_t uintptr_t Data

Function information in GSYM files encodes information for one contiguous address range.

static LLVM_ABI llvm::Expected< MergedFunctionsInfo > decode(DataExtractor &Data, uint64_t BaseAddr)

Decode an MergedFunctionsInfo object from a binary data stream.

static LLVM_ABI llvm::Expected< std::vector< DataExtractor > > getFuncsDataExtractors(DataExtractor &Data)

Get a vector of DataExtractor objects for the functions in this MergedFunctionsInfo object.

bool isValid()

Query if a MergedFunctionsInfo object is valid.

Definition MergedFunctionsInfo.h:33

LLVM_ABI llvm::Error encode(FileWriter &O) const

Encode this MergedFunctionsInfo object into FileWriter stream.

std::vector< FunctionInfo > MergedFunctions

Definition MergedFunctionsInfo.h:26