LLDB  mainline
Functions
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 "Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.h"
#include "lldb/Core/Module.h"
#include "lldb/Symbol/ClangASTContext.h"
#include "lldb/Symbol/ClangExternalASTSourceCommon.h"
#include "lldb/Symbol/ClangUtil.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Utility/LLDBAssert.h"
#include "PdbUtil.h"
#include "UdtRecordCompleter.h"
Include dependency graph for PdbAstBuilder.cpp:

Go to the source code of this file.

Functions

static llvm::Optional< PdbCompilandSymIdFindSymbolScope (PdbIndex &index, PdbCompilandSymId id)
 
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 ClangASTContextGetClangASTContext (ObjectFile &obj)
 
static llvm::Optional< clang::CallingConv > TranslateCallingConvention (llvm::codeview::CallingConvention conv)
 
static llvm::Optional< CVTagRecordGetNestedTagDefinition (const NestedTypeRecord &Record, const CVTagRecord &parent, TpiStream &tpi)
 
static bool IsAnonymousNamespaceName (llvm::StringRef name)
 
static bool isLocalVariableType (SymbolKind K)
 
static std::string RenderScopeList (llvm::ArrayRef< llvm::ms_demangle::Node *> nodes)
 
static llvm::Optional< PublicSym32 > FindPublicSym (const SegmentOffset &addr, SymbolStream &syms, PublicsStream &publics)
 
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()

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

◆ FindPublicSym()

static llvm::Optional<PublicSym32> FindPublicSym ( const SegmentOffset addr,
SymbolStream &  syms,
PublicsStream &  publics 
)
static

◆ FindSymbolScope()

static llvm::Optional<PdbCompilandSymId> FindSymbolScope ( PdbIndex index,
PdbCompilandSymId  id 
)
static

◆ GetClangASTContext()

static ClangASTContext& GetClangASTContext ( ObjectFile obj)
static

◆ GetNestedTagDefinition()

static llvm::Optional<CVTagRecord> GetNestedTagDefinition ( const NestedTypeRecord &  Record,
const CVTagRecord parent,
TpiStream &  tpi 
)
static

◆ IsAnonymousNamespaceName()

static bool IsAnonymousNamespaceName ( llvm::StringRef  name)
static

◆ isBlockDecl()

static bool isBlockDecl ( clang::DeclContext &  context)
static

◆ IsCVarArgsFunction()

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

◆ isFunctionDecl()

static bool isFunctionDecl ( clang::DeclContext &  context)
static

◆ isLocalVariableType()

static bool isLocalVariableType ( SymbolKind  K)
static

Definition at line 389 of file PdbAstBuilder.cpp.

Referenced by FindPublicSym(), and skipFunctionParameters().

◆ isTagDecl()

static bool isTagDecl ( clang::DeclContext &  context)
static

◆ RenderScopeList()

static std::string RenderScopeList ( llvm::ArrayRef< llvm::ms_demangle::Node *>  nodes)
static

◆ skipFunctionParameters()

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

◆ TranslateCallingConvention()

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

◆ TranslateUdtKind()

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