|
LLVM
3.7.0
|
#include "DwarfUnit.h"#include "DwarfAccelTable.h"#include "DwarfCompileUnit.h"#include "DwarfDebug.h"#include "DwarfExpression.h"#include "llvm/ADT/APFloat.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DIBuilder.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/GlobalVariable.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Mangler.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCSection.h"#include "llvm/MC/MCStreamer.h"#include "llvm/Support/CommandLine.h"#include "llvm/Target/TargetFrameLowering.h"#include "llvm/Target/TargetLoweringObjectFile.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "dwarfdebug" |
Functions | |
| static bool | isShareableAcrossCUs (const DINode *D) |
| Check whether the DIE for this MDNode can be shared across CUs. More... | |
| static bool | isUnsignedDIType (DwarfDebug *DD, const DIType *Ty) |
| Return true if type encoding is unsigned. More... | |
| static uint64_t | getBaseTypeSize (DwarfDebug *DD, const DIDerivedType *Ty) |
| If this type is derived from a base type then return base type size. More... | |
Variables | |
| static cl::opt< bool > | GenerateDwarfTypeUnits ("generate-type-units", cl::Hidden, cl::desc("Generate DWARF4 type units."), cl::init(false)) |
| #define DEBUG_TYPE "dwarfdebug" |
Definition at line 40 of file DwarfUnit.cpp.
|
static |
If this type is derived from a base type then return base type size.
Definition at line 557 of file DwarfUnit.cpp.
References llvm::DIDerivedTypeBase::getBaseType(), llvm::DIType::getSizeInBits(), llvm::DINode::getTag(), and llvm::DwarfDebug::resolve().
Check whether the DIE for this MDNode can be shared across CUs.
Definition at line 159 of file DwarfUnit.cpp.
References GenerateDwarfTypeUnits.
Referenced by llvm::DwarfUnit::getDIE(), and llvm::DwarfUnit::insertDIE().
|
static |
Return true if type encoding is unsigned.
Definition at line 508 of file DwarfUnit.cpp.
References llvm::DIType::getName(), llvm::DINode::getTag(), and llvm::DwarfDebug::resolve().
Referenced by llvm::DwarfUnit::addConstantValue().
|
static |
Referenced by llvm::DwarfUnit::getOrCreateTypeDIE(), and isShareableAcrossCUs().
1.8.6