LLVM: include/llvm/DebugInfo/GSYM/LineEntry.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_LINEENTRY_H

10#define LLVM_DEBUGINFO_GSYM_LINEENTRY_H

11

13

14namespace llvm {

15namespace gsym {

16

17

18

19

20

21

30

32 return OS << "addr=" << HEX64(LE.Addr) << ", file=" << format("%3u", LE.File)

33 << ", line=" << format("%3u", LE.Line);

34}

35

43 return LHS.Addr < RHS.Addr;

44}

45}

46}

47#endif

static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")

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

LLVM_ABI raw_ostream & operator<<(raw_ostream &OS, const CallSiteInfo &CSI)

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

This sorting will order things consistently by address range first, but then followed by increasing l...

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

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

This is an optimization pass for GlobalISel generic memory operations.

format_object< Ts... > format(const char *Fmt, const Ts &... Vals)

These are helper functions used to produce formatted output.

Line entries are used to encode the line tables in FunctionInfo objects.

Definition LineEntry.h:22

uint32_t File

1 based index of file in FileTable

Definition LineEntry.h:24

uint32_t Line

Source line number.

Definition LineEntry.h:25

LineEntry(uint64_t A=0, uint32_t F=0, uint32_t L=0)

Definition LineEntry.h:26

uint64_t Addr

Start address of this line entry.

Definition LineEntry.h:23

bool isValid()

Definition LineEntry.h:28