LLVM: include/llvm/ObjectYAML/CodeViewYAMLTypes.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_OBJECTYAML_CODEVIEWYAMLTYPES_H
15#define LLVM_OBJECTYAML_CODEVIEWYAMLTYPES_H
16
23#include
24#include
25#include
26
27namespace llvm {
28
31}
32
34
36
39
40}
41
43 std::shared_ptrdetail::MemberRecordBase Member;
44};
45
47 std::shared_ptrdetail::LeafRecordBase Leaf;
48
53};
54
59
60}
61
62}
63
65
68
71
72#endif
This file defines the BumpPtrAllocator interface.
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.
#define LLVM_YAML_DECLARE_SCALAR_TRAITS(Type, MustQuote)
#define LLVM_YAML_DECLARE_MAPPING_TRAITS(Type)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Tagged union holding either a T or a Error.
StringRef - Represent a constant reference to a string, i.e.
The instances of the Type class are immutable: once they are created, they are never changed.
LLVM_ABI std::vector< LeafRecord > fromDebugT(ArrayRef< uint8_t > DebugTorP, StringRef SectionName)
LLVM_ABI ArrayRef< uint8_t > toDebugT(ArrayRef< LeafRecord >, BumpPtrAllocator &Alloc, StringRef SectionName)
CVRecord< TypeLeafKind > CVType
This is an optimization pass for GlobalISel generic memory operations.
BumpPtrAllocatorImpl<> BumpPtrAllocator
The standard BumpPtrAllocator which just uses the default template parameters.
Definition CodeViewYAMLTypes.h:46
std::shared_ptr< detail::LeafRecordBase > Leaf
Definition CodeViewYAMLTypes.h:47
static LLVM_ABI Expected< LeafRecord > fromCodeViewRecord(codeview::CVType Type)
LLVM_ABI codeview::CVType toCodeViewRecord(codeview::AppendingTypeTableBuilder &Serializer) const
Definition CodeViewYAMLTypes.h:42
std::shared_ptr< detail::MemberRecordBase > Member
Definition CodeViewYAMLTypes.h:43