LLDB  mainline
Classes | Macros | Functions
DWARFASTParserClang.cpp File Reference
#include <stdlib.h>
#include "DWARFASTParserClang.h"
#include "DWARFDIE.h"
#include "DWARFDebugInfo.h"
#include "DWARFDeclContext.h"
#include "DWARFDefines.h"
#include "SymbolFileDWARF.h"
#include "SymbolFileDWARFDwo.h"
#include "SymbolFileDWARFDebugMap.h"
#include "UniqueDWARFASTType.h"
#include "Plugins/Language/ObjC/ObjCLanguage.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/Value.h"
#include "lldb/Host/Host.h"
#include "lldb/Symbol/ClangASTImporter.h"
#include "lldb/Symbol/ClangExternalASTSourceCommon.h"
#include "lldb/Symbol/ClangUtil.h"
#include "lldb/Symbol/CompileUnit.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/SymbolVendor.h"
#include "lldb/Symbol/TypeList.h"
#include "lldb/Symbol/TypeMap.h"
#include "lldb/Target/Language.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/StreamString.h"
#include "clang/AST/CXXInheritance.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include <map>
#include <memory>
#include <vector>
Include dependency graph for DWARFASTParserClang.cpp:

Go to the source code of this file.

Classes

struct  BitfieldInfo
 
class  DWARFASTParserClang::DelayedAddObjCClassProperty
 

Macros

#define DEBUG_PRINTF(fmt, ...)
 

Functions

static AccessType DW_ACCESS_to_AccessType (uint32_t dwarf_accessibility)
 
static bool DeclKindIsCXXClass (clang::Decl::Kind decl_kind)
 
static bool IsClangModuleFwdDecl (const DWARFDIE &Die)
 Detect a forward declaration that is nested in a DW_TAG_module. More...
 
static void CompleteExternalTagDeclType (ClangASTImporter &ast_importer, clang::DeclContext *decl_ctx, DWARFDIE die, const char *type_name_cstr)
 
static bool IsSubroutine (const DWARFDIE &die)
 
static DWARFDIE GetContainingFunctionWithAbstractOrigin (const DWARFDIE &die)
 
static DWARFDIE FindAnyChildWithAbstractOrigin (const DWARFDIE &context)
 
static DWARFDIE FindFirstChildWithAbstractOrigin (const DWARFDIE &block, const DWARFDIE &function)
 

Macro Definition Documentation

◆ DEBUG_PRINTF

#define DEBUG_PRINTF (   fmt,
  ... 
)

Definition at line 54 of file DWARFASTParserClang.cpp.

Referenced by DWARFASTParserClang::ParseTypeFromDWARF().

Function Documentation

◆ CompleteExternalTagDeclType()

static void CompleteExternalTagDeclType ( ClangASTImporter ast_importer,
clang::DeclContext *  decl_ctx,
DWARFDIE  die,
const char *  type_name_cstr 
)
static

◆ DeclKindIsCXXClass()

static bool DeclKindIsCXXClass ( clang::Decl::Kind  decl_kind)
static

◆ DW_ACCESS_to_AccessType()

static AccessType DW_ACCESS_to_AccessType ( uint32_t  dwarf_accessibility)
static

◆ FindAnyChildWithAbstractOrigin()

static DWARFDIE FindAnyChildWithAbstractOrigin ( const DWARFDIE context)
static

◆ FindFirstChildWithAbstractOrigin()

static DWARFDIE FindFirstChildWithAbstractOrigin ( const DWARFDIE block,
const DWARFDIE function 
)
static

◆ GetContainingFunctionWithAbstractOrigin()

static DWARFDIE GetContainingFunctionWithAbstractOrigin ( const DWARFDIE die)
static

◆ IsClangModuleFwdDecl()

static bool IsClangModuleFwdDecl ( const DWARFDIE Die)
static

Detect a forward declaration that is nested in a DW_TAG_module.

Definition at line 127 of file DWARFASTParserClang.cpp.

References DWARFBaseDIE::GetAttributeValueAsUnsigned(), and DWARFDIE::GetParent().

Referenced by DWARFASTParserClang::ParseTypeFromDWO().

◆ IsSubroutine()

static bool IsSubroutine ( const DWARFDIE die)
static