LLVM  8.0.0svn
Typedefs | Functions
DWARFDebugLine.cpp File Reference
#include "llvm/DebugInfo/DWARF/DWARFDebugLine.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
#include "llvm/DebugInfo/DWARF/DWARFRelocMap.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/WithColor.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cinttypes>
#include <cstdint>
#include <cstdio>
#include <utility>
Include dependency graph for DWARFDebugLine.cpp:

Go to the source code of this file.

Typedefs

using FileLineInfoKind = DILineInfoSpecifier::FileLineInfoKind
 

Functions

static void parseV2DirFileTables (const DWARFDataExtractor &DebugLineData, uint32_t *OffsetPtr, uint64_t EndPrologueOffset, DWARFDebugLine::ContentTypeTracker &ContentTypes, std::vector< DWARFFormValue > &IncludeDirectories, std::vector< DWARFDebugLine::FileNameEntry > &FileNames)
 
static ContentDescriptors parseV5EntryFormat (const DWARFDataExtractor &DebugLineData, uint32_t *OffsetPtr, uint64_t EndPrologueOffset, DWARFDebugLine::ContentTypeTracker *ContentTypes)
 
static bool parseV5DirFileTables (const DWARFDataExtractor &DebugLineData, uint32_t *OffsetPtr, uint64_t EndPrologueOffset, const dwarf::FormParams &FormParams, const DWARFContext &Ctx, const DWARFUnit *U, DWARFDebugLine::ContentTypeTracker &ContentTypes, std::vector< DWARFFormValue > &IncludeDirectories, std::vector< DWARFDebugLine::FileNameEntry > &FileNames)
 
static bool isPathAbsoluteOnWindowsOrPosix (const Twine &Path)
 
static DWARFDebugLine::SectionParser::LineToUnitMap buildLineToUnitMap (DWARFDebugLine::SectionParser::cu_range CUs, DWARFDebugLine::SectionParser::tu_range TUs)
 

Typedef Documentation

◆ FileLineInfoKind

Definition at line 33 of file DWARFDebugLine.cpp.

Function Documentation

◆ buildLineToUnitMap()

◆ isPathAbsoluteOnWindowsOrPosix()

static bool isPathAbsoluteOnWindowsOrPosix ( const Twine Path)
static

◆ parseV2DirFileTables()

static void parseV2DirFileTables ( const DWARFDataExtractor DebugLineData,
uint32_t OffsetPtr,
uint64_t  EndPrologueOffset,
DWARFDebugLine::ContentTypeTracker ContentTypes,
std::vector< DWARFFormValue > &  IncludeDirectories,
std::vector< DWARFDebugLine::FileNameEntry > &  FileNames 
)
static

◆ parseV5DirFileTables()

static bool parseV5DirFileTables ( const DWARFDataExtractor DebugLineData,
uint32_t OffsetPtr,
uint64_t  EndPrologueOffset,
const dwarf::FormParams FormParams,
const DWARFContext Ctx,
const DWARFUnit U,
DWARFDebugLine::ContentTypeTracker ContentTypes,
std::vector< DWARFFormValue > &  IncludeDirectories,
std::vector< DWARFDebugLine::FileNameEntry > &  FileNames 
)
static

◆ parseV5EntryFormat()

static ContentDescriptors parseV5EntryFormat ( const DWARFDataExtractor DebugLineData,
uint32_t OffsetPtr,
uint64_t  EndPrologueOffset,
DWARFDebugLine::ContentTypeTracker ContentTypes 
)
static