LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::CodeViewYAML::LeafRecord Struct Reference

#include "llvm/ObjectYAML/CodeViewYAMLTypes.h"

Collaboration diagram for llvm::CodeViewYAML::LeafRecord:
Collaboration graph

Public Member Functions

codeview::CVType toCodeViewRecord (codeview::AppendingTypeTableBuilder &Serializer) const

Static Public Member Functions

static Expected< LeafRecordfromCodeViewRecord (codeview::CVType Type)

Public Attributes

std::shared_ptr< detail::LeafRecordBaseLeaf

Detailed Description

Definition at line 45 of file CodeViewYAMLTypes.h.

Member Function Documentation

◆ fromCodeViewRecord()

Expected< LeafRecord > LeafRecord::fromCodeViewRecord ( codeview::CVType  Type)

Definition at line 684 of file CodeViewYAMLTypes.cpp.

References llvm::codeview::corrupt_record, and llvm_unreachable.

◆ toCodeViewRecord()

CVType LeafRecord::toCodeViewRecord ( codeview::AppendingTypeTableBuilder Serializer) const

Definition at line 701 of file CodeViewYAMLTypes.cpp.

Member Data Documentation

◆ Leaf

std::shared_ptr<detail::LeafRecordBase> llvm::CodeViewYAML::LeafRecord::Leaf

Definition at line 46 of file CodeViewYAMLTypes.h.

Referenced by mapLeafRecordImpl().

The documentation for this struct was generated from the following files: