LLVM
8.0.1
|
#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/StringExtras.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineOperand.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/MCContext.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 "llvm/Target/TargetLoweringObjectFile.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 | isUnsignedDIType (DwarfDebug *DD, const DIType *Ty) |
Return true if type encoding is unsigned. More... | |
static bool | hasVectorBeenPadded (const DICompositeType *CTy) |
Returns true if the vector's size differs from the sum of sizes of elements the user specified. More... | |
#define DEBUG_TYPE "dwarfdebug" |
Definition at line 48 of file DwarfUnit.cpp.
|
static |
Returns true if the vector's size differs from the sum of sizes of elements the user specified.
This can occur if the vector has been rounded up to fit memory alignment constraints.
Definition at line 1308 of file DwarfUnit.cpp.
References llvm::DwarfUnit::addConstantValue(), llvm::DwarfUnit::addFlag(), llvm::DwarfUnit::addString(), llvm::DwarfUnit::addType(), llvm::DwarfUnit::addUInt(), assert(), llvm::DwarfUnit::createAndAddDIE(), llvm::DwarfUnit::DD, llvm::Enumerator, llvm::DICompositeType::getBaseType(), llvm::DwarfDebug::getDwarfVersion(), llvm::DICompositeType::getElements(), llvm::DIType::getFlags(), llvm::ConstantInt::getSExtValue(), llvm::DIType::getSizeInBits(), isUnsignedDIType(), llvm::DIType::isVector(), N, Name, llvm::None, llvm::TypedDINodeRef< T >::resolve(), and llvm::DwarfUnit::resolve().
|
static |
Return true if type encoding is unsigned.
Definition at line 438 of file DwarfUnit.cpp.
References assert(), llvm::DIType::getName(), llvm::DINode::getTag(), and llvm::DwarfDebug::resolve().
Referenced by llvm::DwarfUnit::addConstantValue(), llvm::DwarfUnit::constructTypeDIE(), and hasVectorBeenPadded().