LLVM 20.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFTypePrinter.h"
Public Member Functions | |
DWARFTypePrinter (raw_ostream &OS) | |
void | appendTypeTagName (dwarf::Tag T) |
Dump the name encoded in the type tag. | |
void | appendArrayType (const DieType &D) |
DieType | skipQualifiers (DieType D) |
bool | needsParens (DieType D) |
void | appendPointerLikeTypeBefore (DieType D, DieType Inner, StringRef Ptr) |
DieType | appendUnqualifiedNameBefore (DieType D, std::string *OriginalFullName=nullptr) |
void | appendUnqualifiedNameAfter (DieType D, DieType Inner, bool SkipFirstParamIfArtificial=false) |
void | appendQualifiedName (DieType D) |
DieType | appendQualifiedNameBefore (DieType D) |
bool | appendTemplateParameters (DieType D, bool *FirstParameter=nullptr) |
void | appendAndTerminateTemplateParameters (DieType D) |
void | decomposeConstVolatile (DieType &N, DieType &T, DieType &C, DieType &V) |
void | appendConstVolatileQualifierAfter (DieType N) |
void | appendConstVolatileQualifierBefore (DieType N) |
void | appendUnqualifiedName (DieType D, std::string *OriginalFullName=nullptr) |
Recursively append the DIE type name when applicable. | |
void | appendSubroutineNameAfter (DieType D, DieType Inner, bool SkipFirstParamIfArtificial, bool Const, bool Volatile) |
void | appendScopes (DieType D) |
Public Attributes | |
raw_ostream & | OS |
bool | Word = true |
bool | EndedWithTemplate = false |
Definition at line 25 of file DWARFTypePrinter.h.
|
inline |
Definition at line 30 of file DWARFTypePrinter.h.
void llvm::DWARFTypePrinter< DieType >::appendAndTerminateTemplateParameters | ( | DieType | D | ) |
Definition at line 569 of file DWARFTypePrinter.h.
void llvm::DWARFTypePrinter< DieType >::appendArrayType | ( | const DieType & | D | ) |
Definition at line 96 of file DWARFTypePrinter.h.
References llvm::CallingConv::C, D, and OS.
void llvm::DWARFTypePrinter< DieType >::appendConstVolatileQualifierAfter | ( | DieType | N | ) |
Definition at line 600 of file DWARFTypePrinter.h.
References llvm::CallingConv::C, N, llvm::detail::resolveReferencedType(), and T.
void llvm::DWARFTypePrinter< DieType >::appendConstVolatileQualifierBefore | ( | DieType | N | ) |
Definition at line 613 of file DWARFTypePrinter.h.
References A, llvm::CallingConv::C, N, OS, llvm::detail::resolveReferencedType(), and T.
void llvm::DWARFTypePrinter< DieType >::appendPointerLikeTypeBefore | ( | DieType | D, |
DieType | Inner, | ||
StringRef | Ptr | ||
) |
Definition at line 182 of file DWARFTypePrinter.h.
void llvm::DWARFTypePrinter< DieType >::appendQualifiedName | ( | DieType | D | ) |
Definition at line 403 of file DWARFTypePrinter.h.
References D.
Referenced by llvm::dumpTypeQualifiedName().
DieType llvm::DWARFTypePrinter< DieType >::appendQualifiedNameBefore | ( | DieType | D | ) |
Definition at line 410 of file DWARFTypePrinter.h.
References D.
void llvm::DWARFTypePrinter< DieType >::appendScopes | ( | DieType | D | ) |
Definition at line 779 of file DWARFTypePrinter.h.
void llvm::DWARFTypePrinter< DieType >::appendSubroutineNameAfter | ( | DieType | D, |
DieType | Inner, | ||
bool | SkipFirstParamIfArtificial, | ||
bool | Const, | ||
bool | Volatile | ||
) |
Definition at line 655 of file DWARFTypePrinter.h.
References CC, D, llvm::First, OS, P, llvm::detail::resolveReferencedType(), and T.
bool llvm::DWARFTypePrinter< DieType >::appendTemplateParameters | ( | DieType | D, |
bool * | FirstParameter = nullptr |
||
) |
Definition at line 417 of file DWARFTypePrinter.h.
References assert(), llvm::CallingConv::C, D, llvm::format(), Name, OS, llvm::detail::resolveReferencedType(), llvm::detail::toString(), and TypeAttr.
void llvm::DWARFTypePrinter< DieType >::appendTypeTagName | ( | dwarf::Tag | T | ) |
Dump the name encoded in the type tag.
Definition at line 84 of file DWARFTypePrinter.h.
References llvm::StringRef::ends_with(), OS, llvm::StringRef::size(), llvm::StringRef::starts_with(), and llvm::StringRef::substr().
void llvm::DWARFTypePrinter< DieType >::appendUnqualifiedName | ( | DieType | D, |
std::string * | OriginalFullName = nullptr |
||
) |
Recursively append the DIE type name when applicable.
Definition at line 646 of file DWARFTypePrinter.h.
References D.
Referenced by llvm::dumpTypeUnqualifiedName().
void llvm::DWARFTypePrinter< DieType >::appendUnqualifiedNameAfter | ( | DieType | D, |
DieType | Inner, | ||
bool | SkipFirstParamIfArtificial = false |
||
) |
Definition at line 314 of file DWARFTypePrinter.h.
References D, OS, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::detail::resolveReferencedType(), and llvm::raw_string_ostream::str().
DieType llvm::DWARFTypePrinter< DieType >::appendUnqualifiedNameBefore | ( | DieType | D, |
std::string * | OriginalFullName = nullptr |
||
) |
Definition at line 196 of file DWARFTypePrinter.h.
References assert(), D, Name, llvm::StringRef::npos, OS, llvm::detail::resolveReferencedType(), and llvm::detail::toString().
void llvm::DWARFTypePrinter< DieType >::decomposeConstVolatile | ( | DieType & | N, |
DieType & | T, | ||
DieType & | C, | ||
DieType & | V | ||
) |
Definition at line 583 of file DWARFTypePrinter.h.
References llvm::CallingConv::C, N, llvm::detail::resolveReferencedType(), T, and llvm::Tag.
bool llvm::DWARFTypePrinter< DieType >::needsParens | ( | DieType | D | ) |
Definition at line 175 of file DWARFTypePrinter.h.
References D.
DieType llvm::DWARFTypePrinter< DieType >::skipQualifiers | ( | DieType | D | ) |
Definition at line 167 of file DWARFTypePrinter.h.
References D, and llvm::detail::resolveReferencedType().
bool llvm::DWARFTypePrinter< DieType >::EndedWithTemplate = false |
Definition at line 28 of file DWARFTypePrinter.h.
raw_ostream& llvm::DWARFTypePrinter< DieType >::OS |
Definition at line 26 of file DWARFTypePrinter.h.
bool llvm::DWARFTypePrinter< DieType >::Word = true |
Definition at line 27 of file DWARFTypePrinter.h.