LLVM: include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H

10#define LLVM_DEBUGINFO_CODEVIEW_DEBUGSTRINGTABLESUBSECTION_H

11

20#include

21

22namespace llvm {

23

25

27

28

29

30

31

33public:

35

39

42

44

45 bool valid() const { return Stream.valid(); }

46

48

49private:

51};

52

53

54

55

56

58public:

60

64

65

66

68

69

71

73

74 uint32_t calculateSerializedSize() const override;

76

78

80 return StringToId.begin();

81 }

82

84

85 std::vector<uint32_t> sortedIds() const;

86

87private:

91};

92

93}

94

95}

96

97#endif

This file defines the StringMap class.

This file defines the DenseMap class.

Provides read only access to a subclass of BinaryStream.

BinaryStreamRef is to BinaryStream what ArrayRef is to an Array.

Provides write only access to a subclass of WritableBinaryStream.

Lightweight error class with error context and mandatory checking.

Tagged union holding either a T or a Error.

StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...

StringMapIterBase< ValueTy, true > const_iterator

StringRef - Represent a constant reference to a string, i.e.

bool valid() const

Definition DebugStringTableSubsection.h:45

BinaryStreamRef getBuffer() const

Definition DebugStringTableSubsection.h:47

static bool classof(const DebugSubsectionRef *S)

Definition DebugStringTableSubsection.h:36

LLVM_ABI Expected< StringRef > getString(uint32_t Offset) const

LLVM_ABI DebugStringTableSubsectionRef()

LLVM_ABI Error initialize(BinaryStreamRef Contents)

StringMap< uint32_t >::const_iterator begin() const

Definition DebugStringTableSubsection.h:79

DebugStringTableSubsection()

StringMap< uint32_t >::const_iterator end() const

Definition DebugStringTableSubsection.h:83

static bool classof(const DebugSubsection *S)

Definition DebugStringTableSubsection.h:61

DebugSubsectionKind kind() const

DebugSubsectionRef(DebugSubsectionKind Kind)

DebugSubsection(DebugSubsectionKind Kind)

DebugSubsectionKind kind() const

This is an optimization pass for GlobalISel generic memory operations.

auto size(R &&Range, std::enable_if_t< std::is_base_of< std::random_access_iterator_tag, typename std::iterator_traits< decltype(Range.begin())>::iterator_category >::value, void > *=nullptr)

Get the size of a range.