LLDB  mainline
Functions | Variables
DWARFUnit.cpp File Reference
#include "DWARFUnit.h"
#include "lldb/Core/Module.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/Timer.h"
#include "llvm/Object/Error.h"
#include "DWARFCompileUnit.h"
#include "DWARFDebugAranges.h"
#include "DWARFDebugInfo.h"
#include "DWARFTypeUnit.h"
#include "LogChannelDWARF.h"
#include "SymbolFileDWARFDwo.h"
Include dependency graph for DWARFUnit.cpp:

Go to the source code of this file.


template<typename ListTableType >
static llvm::Expected< ListTableType > ParseListTableHeader (const llvm::DWARFDataExtractor &data, uint64_t offset, DwarfFormat format)
static bool CompareDIEOffset (const DWARFDebugInfoEntry &die, const dw_offset_t die_offset)
static llvm::StringRef removeHostnameFromPathname (llvm::StringRef path_from_dwarf)


int g_verbose

Function Documentation

◆ CompareDIEOffset()

static bool CompareDIEOffset ( const DWARFDebugInfoEntry die,
const dw_offset_t  die_offset 

Definition at line 595 of file DWARFUnit.cpp.

References DWARFDebugInfoEntry::GetOffset().

Referenced by DWARFUnit::GetDIE().

◆ ParseListTableHeader()

template<typename ListTableType >
static llvm::Expected<ListTableType> ParseListTableHeader ( const llvm::DWARFDataExtractor &  data,
uint64_t  offset,
DwarfFormat  format 

Definition at line 434 of file DWARFUnit.cpp.

◆ removeHostnameFromPathname()

static llvm::StringRef removeHostnameFromPathname ( llvm::StringRef  path_from_dwarf)

Definition at line 761 of file DWARFUnit.cpp.

Referenced by DWARFUnit::ComputeCompDirAndGuessPathStyle().

Variable Documentation

◆ g_verbose

int g_verbose