|
LLVM
4.0.0
|
#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/iterator_range.h"#include "llvm/ADT/None.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DataLayout.h"#include "llvm/IR/GlobalValue.h"#include "llvm/IR/Metadata.h"#include "llvm/MC/MachineLocation.h"#include "llvm/MC/MCDwarf.h"#include "llvm/MC/MCSection.h"#include "llvm/MC/MCStreamer.h"#include "llvm/Support/Casting.h"#include "llvm/Support/CommandLine.h"#include "llvm/Target/TargetLoweringObjectFile.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"#include <cassert>#include <cstdint>#include <string>#include <utility>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... | |
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 45 of file DwarfUnit.cpp.
Check whether the DIE for this MDNode can be shared across CUs.
Definition at line 163 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 515 of file DwarfUnit.cpp.
References assert(), 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