original) (raw)
LLVM: lib/CodeGen/AsmPrinter/DwarfUnit.cpp File Reference (#include "[DwarfUnit.h](DwarfUnit%5F8h%5Fsource.html)"
#include "[AddressPool.h](AddressPool%5F8h%5Fsource.html)"
#include "[DwarfCompileUnit.h](DwarfCompileUnit%5F8h%5Fsource.html)"
#include "[DwarfExpression.h](DwarfExpression%5F8h%5Fsource.html)"
#include "[llvm/ADT/APFloat.h](APFloat%5F8h%5Fsource.html)"
#include "[llvm/ADT/APInt.h](APInt%5F8h%5Fsource.html)"
#include "[llvm/CodeGen/TargetRegisterInfo.h](TargetRegisterInfo%5F8h%5Fsource.html)"
#include "[llvm/IR/Constants.h](Constants%5F8h%5Fsource.html)"
#include "[llvm/IR/DataLayout.h](DataLayout%5F8h%5Fsource.html)"
#include "[llvm/IR/GlobalValue.h](GlobalValue%5F8h%5Fsource.html)"
#include "[llvm/IR/Metadata.h](Metadata%5F8h%5Fsource.html)"
#include "[llvm/MC/MCAsmInfo.h](MCAsmInfo%5F8h%5Fsource.html)"
#include "[llvm/MC/MCContext.h](MCContext%5F8h%5Fsource.html)"
#include "[llvm/MC/MCDwarf.h](MCDwarf%5F8h%5Fsource.html)"
#include "[llvm/MC/MCSection.h](MCSection%5F8h%5Fsource.html)"
#include "[llvm/MC/MCStreamer.h](MCStreamer%5F8h%5Fsource.html)"
#include "[llvm/Support/Casting.h](Casting%5F8h%5Fsource.html)"
#include "[llvm/Target/TargetLoweringObjectFile.h](TargetLoweringObjectFile%5F8h%5Fsource.html)"
#include <cassert>
#include <cstdint>
#include <limits>
#include <string>
#include <utility>
Go to the source code of this file.
Macros | |
---|---|
#define | DEBUG_TYPE "dwarfdebug" |
Functions | |
---|---|
static bool | hasVectorBeenPadded (const DICompositeType *CTy) |
Returns true if the vector's size differs from the sum of sizes of elements the user specified. | |
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "dwarfdebug"
Definition at line 39 of file DwarfUnit.cpp.
Function Documentation
◆ hasVectorBeenPadded()
static bool hasVectorBeenPadded ( const DICompositeType * CTy) | 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 1517 of file DwarfUnit.cpp.
References assert(), llvm::DICompositeType::getBaseType(), llvm::DICompositeType::getElements(), llvm::DIType::getSizeInBits(), and llvm::DIType::isVector().