15 #ifndef LLVM_OBJECTYAML_CODEVIEWYAMLTYPES_H
16 #define LLVM_OBJECTYAML_CODEVIEWYAMLTYPES_H
31 class TypeTableBuilder;
35 namespace CodeViewYAML {
39 struct LeafRecordBase;
40 struct MemberRecordBase;
45 std::shared_ptr<detail::MemberRecordBase>
Member;
49 std::shared_ptr<detail::LeafRecordBase>
Leaf;
71 #endif // LLVM_OBJECTYAML_CODEVIEWYAMLTYPES_H
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence...
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
ArrayRef< uint8_t > toDebugT(ArrayRef< LeafRecord >, BumpPtrAllocator &Alloc)
Tagged union holding either a T or a Error.
std::vector< LeafRecord > fromDebugT(ArrayRef< uint8_t > DebugT)
The instances of the Type class are immutable: once they are created, they are never changed...
Allocate memory in an ever growing pool, as if by bump-pointer.
static Expected< LeafRecord > fromCodeViewRecord(codeview::CVType Type)
#define LLVM_YAML_DECLARE_SCALAR_TRAITS(Type, MustQuote)
std::shared_ptr< detail::MemberRecordBase > Member
codeview::CVType toCodeViewRecord(BumpPtrAllocator &Allocator) const
#define LLVM_YAML_DECLARE_MAPPING_TRAITS(Type)
std::shared_ptr< detail::LeafRecordBase > Leaf