|
LLVM
7.0.0
|
#include "llvm/Demangle/Demangle.h"#include "Compiler.h"#include "StringView.h"#include "Utility.h"#include <cctype>#include <tuple>Go to the source code of this file.
Functions | |
| static bool | startsWithDigit (StringView S) |
| static void | outputSpaceIfNecessary (OutputStream &OS) |
| static bool | isMemberPointer (StringView MangledName) |
| static void | outputCallingConvention (OutputStream &OS, CallingConv CC) |
| static bool | startsWithLocalScopePattern (StringView S) |
| static void | outputName (OutputStream &OS, const Name *TheName) |
| static void | outputParameterList (OutputStream &OS, const FunctionParams &Params) |
| static void | outputParameterList (OutputStream &OS, const TemplateParams &Params) |
| static bool | isTagType (StringView S) |
| static bool | isPointerType (StringView S) |
| static bool | isArrayType (StringView S) |
| static bool | isFunctionType (StringView S) |
| static std::pair< Qualifiers, PointerAffinity > | demanglePointerCVQualifiers (StringView &MangledName) |
|
strong |
| Enumerator | |
|---|---|
| None | |
| Cdecl | |
| Pascal | |
| Thiscall | |
| Stdcall | |
| Fastcall | |
| Clrcall | |
| Eabi | |
| Vectorcall | |
| Regcall | |
Definition at line 145 of file MicrosoftDemangle.cpp.
| enum FuncClass : uint8_t |
| Enumerator | |
|---|---|
| Public | |
| Protected | |
| Private | |
| Global | |
| Global | |
| Static | |
| Virtual | |
| Far | |
Definition at line 197 of file MicrosoftDemangle.cpp.
|
strong |
| Enumerator | |
|---|---|
| Pointer | |
| Reference | |
| RValueReference | |
Definition at line 142 of file MicrosoftDemangle.cpp.
|
strong |
| Enumerator | |
|---|---|
| Unknown | |
| None | |
| Function | |
| Ptr | |
| MemberPtr | |
| Array | |
| Struct | |
| Union | |
| Class | |
| Enum | |
| Void | |
| Bool | |
| Char | |
| Schar | |
| Uchar | |
| Char16 | |
| Char32 | |
| Short | |
| Ushort | |
| Int | |
| Uint | |
| Long | |
| Ulong | |
| Int64 | |
| Uint64 | |
| Wchar | |
| Float | |
| Double | |
| Ldouble | |
| Nullptr | |
Definition at line 161 of file MicrosoftDemangle.cpp.
|
strong |
| Enumerator | |
|---|---|
| Drop | |
| Mangle | |
| Result | |
Definition at line 140 of file MicrosoftDemangle.cpp.
| enum Qualifiers : uint8_t |
| Enumerator | |
|---|---|
| Q_None | |
| Q_Const | |
| Q_Volatile | |
| Q_Far | |
| Q_Huge | |
| Q_Unaligned | |
| Q_Restrict | |
| Q_Pointer64 | |
Definition at line 120 of file MicrosoftDemangle.cpp.
|
strong |
| Enumerator | |
|---|---|
| None | |
| LValueRef | |
| RValueRef | |
Definition at line 158 of file MicrosoftDemangle.cpp.
|
strong |
| Enumerator | |
|---|---|
| None | |
| PrivateStatic | |
| ProtectedStatic | |
| PublicStatic | |
| Global | |
| FunctionLocalStatic | |
Definition at line 131 of file MicrosoftDemangle.cpp.
|
static |
Definition at line 1779 of file MicrosoftDemangle.cpp.
References Array, assert(), StringView::consumeFront(), Drop, StringView::dropFront(), llvm::lltok::Error, StringView::front(), I, if(), Mangle, MemberPtr, N, outputName(), Pointer, StringView::popFront(), Ptr, Q_Const, Q_None, Q_Pointer64, Q_Restrict, Q_Unaligned, Q_Volatile, Reference, RValueReference, StringView::size(), StringView::startsWith(), startsWithDigit(), and llvm::ARMBuildAttrs::Symbol.
|
static |
Definition at line 1555 of file MicrosoftDemangle.cpp.
Referenced by isFunctionType().
|
static |
Definition at line 1557 of file MicrosoftDemangle.cpp.
References assert(), Bool, Char, Char16, Char32, Class, StringView::consumeFront(), Double, StringView::empty(), Enum, llvm::lltok::Error, R600_InstFlag::FC, first, Float, Function, Global, Int, Int64, isArrayType(), isMemberPointer(), isPointerType(), isTagType(), Ldouble, Long, LValueRef, Mangle, None, Nullptr, StringView::popFront(), Q_None, Result, RValueRef, Schar, Short, StringView::startsWith(), Static, Struct, Uchar, Uint, Uint64, Ulong, Union, Ushort, Void, and Wchar.
|
static |
Definition at line 344 of file MicrosoftDemangle.cpp.
References assert(), StringView::consumeFront(), StringView::empty(), StringView::front(), StringView::popFront(), and startsWithDigit().
Referenced by isFunctionType().
|
static |
Definition at line 1540 of file MicrosoftDemangle.cpp.
References StringView::front(), and StringView::startsWith().
Referenced by isFunctionType().
|
static |
Definition at line 1529 of file MicrosoftDemangle.cpp.
References StringView::front().
Referenced by isFunctionType().
|
static |
Definition at line 398 of file MicrosoftDemangle.cpp.
References Cdecl, Clrcall, Eabi, Fastcall, outputSpaceIfNecessary(), Pascal, Regcall, Stdcall, Thiscall, and Vectorcall.
Referenced by outputName().
|
static |
Definition at line 533 of file MicrosoftDemangle.cpp.
References Array, assert(), StringView::begin(), Bool, C, Cdecl, Char, Char16, Char32, Class, Clrcall, StringView::consumeFront(), OutputStream::create(), Double, Drop, StringView::dropFront(), Eabi, StringView::empty(), Enum, llvm::lltok::Error, Far, Fastcall, StringView::find(), Float, StringView::front(), Function, FunctionLocalStatic, OutputStream::getBuffer(), Global, I, Int, Int64, Ldouble, Long, LValueRef, MemberPtr, llvm::neg(), None, StringView::npos, Nullptr, outputCallingConvention(), outputParameterList(), outputSpaceIfNecessary(), llvm::json::parse(), Pascal, Pointer, StringView::popFront(), Private, PrivateStatic, Protected, ProtectedStatic, Ptr, Public, PublicStatic, Q_Const, Q_None, Q_Restrict, Q_Unaligned, Q_Volatile, Reference, llvm::MipsISD::Ret, RValueRef, llvm::PPCISD::SC, Schar, Short, SwapAndRestore< T >::shouldRestore(), StringView::size(), StringView::startsWith(), startsWithDigit(), startsWithLocalScopePattern(), Static, Stdcall, Struct, StringView::substr(), llvm::ARMBuildAttrs::Symbol, llvm::AMDGPU::HSAMD::Kernel::Key::SymbolName, Thiscall, llvm::AMDGPU::HSAMD::Kernel::Arg::Key::TypeName, Uchar, Uint, Uint64, Ulong, Union, Unknown, Ushort, Vectorcall, Virtual, Void, and Wchar.
Referenced by demanglePointerCVQualifiers(), and outputParameterList().
|
static |
Definition at line 478 of file MicrosoftDemangle.cpp.
Referenced by outputName().
|
static |
Definition at line 497 of file MicrosoftDemangle.cpp.
References outputName().
|
static |
Definition at line 110 of file MicrosoftDemangle.cpp.
References OutputStream::back(), C, and OutputStream::empty().
Referenced by outputCallingConvention(), and outputName().
|
static |
Definition at line 105 of file MicrosoftDemangle.cpp.
References StringView::empty(), and StringView::front().
Referenced by demanglePointerCVQualifiers(), isMemberPointer(), and outputName().
|
static |
Definition at line 434 of file MicrosoftDemangle.cpp.
References StringView::consumeFront(), and StringView::size().
Referenced by outputName().
1.8.13