LLDB mainline
PdbAstBuilder.cpp File Reference
#include "PdbAstBuilder.h"
#include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
#include "llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h"
#include "llvm/DebugInfo/CodeView/RecordName.h"
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/CodeView/SymbolRecordHelpers.h"
#include "llvm/DebugInfo/CodeView/TypeDeserializer.h"
#include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/PublicsStream.h"
#include "llvm/DebugInfo/PDB/Native/SymbolStream.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
#include "llvm/Demangle/MicrosoftDemangle.h"
#include "PdbUtil.h"
#include "Plugins/ExpressionParser/Clang/ClangASTMetadata.h"
#include "Plugins/ExpressionParser/Clang/ClangUtil.h"
#include "Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.h"
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
#include "SymbolFileNativePDB.h"
#include "UdtRecordCompleter.h"
#include "lldb/Core/Module.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Utility/LLDBAssert.h"
#include <optional>
#include <string_view>

Go to the source code of this file.

Functions

static clang::TagTypeKind TranslateUdtKind (const TagRecord &cr)
static bool IsCVarArgsFunction (llvm::ArrayRef< TypeIndex > args)
static bool AnyScopesHaveTemplateParams (llvm::ArrayRef< llvm::ms_demangle::Node * > scopes)
static std::optional< clang::CallingConv > TranslateCallingConvention (llvm::codeview::CallingConvention conv)
static bool IsAnonymousNamespaceName (llvm::StringRef name)
static bool isLocalVariableType (SymbolKind K)
static bool isTagDecl (clang::DeclContext &context)
static bool isFunctionDecl (clang::DeclContext &context)
static bool isBlockDecl (clang::DeclContext &context)
static CVSymbolArray skipFunctionParameters (clang::Decl &decl, const CVSymbolArray &symbols)

Function Documentation

◆ AnyScopesHaveTemplateParams()

bool AnyScopesHaveTemplateParams ( llvm::ArrayRef< llvm::ms_demangle::Node * > scopes)
static

◆ IsAnonymousNamespaceName()

bool IsAnonymousNamespaceName ( llvm::StringRef name)
static

◆ isBlockDecl()

bool isBlockDecl ( clang::DeclContext & context)
static

◆ IsCVarArgsFunction()

bool IsCVarArgsFunction ( llvm::ArrayRef< TypeIndex > args)
static

◆ isFunctionDecl()

bool isFunctionDecl ( clang::DeclContext & context)
static

◆ isLocalVariableType()

bool isLocalVariableType ( SymbolKind K)
static

◆ isTagDecl()

bool isTagDecl ( clang::DeclContext & context)
static

◆ skipFunctionParameters()

CVSymbolArray skipFunctionParameters ( clang::Decl & decl,
const CVSymbolArray & symbols )
static

◆ TranslateCallingConvention()

std::optional< clang::CallingConv > TranslateCallingConvention ( llvm::codeview::CallingConvention conv)
static

◆ TranslateUdtKind()

clang::TagTypeKind TranslateUdtKind ( const TagRecord & cr)
static