LLVM API Documentation

Defines | Typedefs | Functions
DWARFContext.cpp File Reference
#include "DWARFContext.h"
#include "DWARFDebugArangeSet.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
Include dependency graph for DWARFContext.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "dwarf"

Typedefs

typedef DWARFDebugLine::LineTable DWARFLineTable
typedef
DILineInfoSpecifier::FileLineInfoKind 
FileLineInfoKind
typedef
DILineInfoSpecifier::FunctionNameKind 
FunctionNameKind

Functions

static void dumpPubSection (raw_ostream &OS, StringRef Name, StringRef Data, bool LittleEndian, bool GnuStyle)
static bool getFileNameForUnit (DWARFCompileUnit *U, const DWARFLineTable *LineTable, uint64_t FileIndex, FileLineInfoKind Kind, std::string &FileName)
static bool getFileLineInfoForCompileUnit (DWARFCompileUnit *CU, const DWARFLineTable *LineTable, uint64_t Address, FileLineInfoKind Kind, DILineInfo &Result)
static bool getFunctionNameForAddress (DWARFCompileUnit *CU, uint64_t Address, FunctionNameKind Kind, std::string &FunctionName)
static bool consumeCompressedDebugSectionHeader (StringRef &data, uint64_t &OriginalSize)

Define Documentation

#define DEBUG_TYPE   "dwarf"

Definition at line 25 of file DWARFContext.cpp.


Typedef Documentation

Definition at line 27 of file DWARFContext.cpp.

Definition at line 28 of file DWARFContext.cpp.

Definition at line 29 of file DWARFContext.cpp.


Function Documentation

static bool consumeCompressedDebugSectionHeader ( StringRef data,
uint64_t &  OriginalSize 
) [static]
static void dumpPubSection ( raw_ostream OS,
StringRef  Name,
StringRef  Data,
bool  LittleEndian,
bool  GnuStyle 
) [static]
static bool getFileLineInfoForCompileUnit ( DWARFCompileUnit CU,
const DWARFLineTable LineTable,
uint64_t  Address,
FileLineInfoKind  Kind,
DILineInfo Result 
) [static]
static bool getFileNameForUnit ( DWARFCompileUnit U,
const DWARFLineTable LineTable,
uint64_t  FileIndex,
FileLineInfoKind  Kind,
std::string &  FileName 
) [static]
static bool getFunctionNameForAddress ( DWARFCompileUnit CU,
uint64_t  Address,
FunctionNameKind  Kind,
std::string &  FunctionName 
) [static]