14#ifndef LLVM_OBJECTYAML_CODEVIEWYAMLTYPES_H
15#define LLVM_OBJECTYAML_CODEVIEWYAMLTYPES_H
29class AppendingTypeTableBuilder;
32namespace CodeViewYAML {
37struct MemberRecordBase;
42 std::shared_ptr<detail::MemberRecordBase>
Member;
46 std::shared_ptr<detail::LeafRecordBase>
Leaf;
This file defines the BumpPtrAllocator interface.
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
#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),...
Allocate memory in an ever growing pool, as if by bump-pointer.
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.
std::vector< LeafRecord > fromDebugT(ArrayRef< uint8_t > DebugTorP, StringRef SectionName)
ArrayRef< uint8_t > toDebugT(ArrayRef< LeafRecord >, BumpPtrAllocator &Alloc, StringRef SectionName)
This is an optimization pass for GlobalISel generic memory operations.
std::shared_ptr< detail::LeafRecordBase > Leaf
static Expected< LeafRecord > fromCodeViewRecord(codeview::CVType Type)
codeview::CVType toCodeViewRecord(codeview::AppendingTypeTableBuilder &Serializer) const
std::shared_ptr< detail::MemberRecordBase > Member