LLVM  6.0.0svn
Macros | Functions | Variables
DwarfUnit.cpp File Reference
#include "DwarfUnit.h"
#include "AddressPool.h"
#include "DwarfCompileUnit.h"
#include "DwarfDebug.h"
#include "DwarfExpression.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/TargetLoweringObjectFile.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Metadata.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include <cassert>
#include <cstdint>
#include <string>
#include <utility>
Include dependency graph for DwarfUnit.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "dwarfdebug"
 

Functions

static bool isUnsignedDIType (DwarfDebug *DD, const DIType *Ty)
 Return true if type encoding is unsigned. More...
 

Variables

static cl::opt< boolGenerateDwarfTypeUnits ("generate-type-units", cl::Hidden, cl::desc("Generate DWARF4 type units."), cl::init(false))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "dwarfdebug"

Definition at line 46 of file DwarfUnit.cpp.

Function Documentation

◆ isUnsignedDIType()

static bool isUnsignedDIType ( DwarfDebug DD,
const DIType Ty 
)
static

Return true if type encoding is unsigned.

Definition at line 513 of file DwarfUnit.cpp.

References assert(), llvm::DIType::getName(), llvm::DINode::getTag(), and llvm::DwarfDebug::resolve().

Referenced by llvm::DwarfUnit::addConstantValue().

Variable Documentation

◆ GenerateDwarfTypeUnits

cl::opt<bool> GenerateDwarfTypeUnits("generate-type-units", cl::Hidden, cl::desc("Generate DWARF4 type units."), cl::init(false))
static