forked from OSchip/llvm-project
parent
718f6f53bc
commit
ffc5ff32d1
|
@ -841,7 +841,8 @@ static bool piecesOverlap(DIExpression P1, DIExpression P2) {
|
|||
// 1 | | [x, (reg1, piece 32, 32)] <- IsPieceOfPrevEntry
|
||||
// 2 | | ...
|
||||
// 3 | [clobber reg0]
|
||||
// 4 [x, (mem, piece 0, 64)] <- overlapping with both previous pieces of x.
|
||||
// 4 [x, (mem, piece 0, 64)] <- overlapping with both previous pieces of
|
||||
// x.
|
||||
//
|
||||
// Output:
|
||||
//
|
||||
|
@ -1353,8 +1354,8 @@ void DwarfDebug::emitSectionLabels() {
|
|||
if (useSplitDwarf()) {
|
||||
DwarfInfoDWOSectionSym =
|
||||
emitSectionSym(Asm, TLOF.getDwarfInfoDWOSection(), "section_info_dwo");
|
||||
DwarfTypesDWOSectionSym =
|
||||
emitSectionSym(Asm, TLOF.getDwarfTypesDWOSection(), "section_types_dwo");
|
||||
DwarfTypesDWOSectionSym = emitSectionSym(
|
||||
Asm, TLOF.getDwarfTypesDWOSection(), "section_types_dwo");
|
||||
}
|
||||
DwarfAbbrevSectionSym =
|
||||
emitSectionSym(Asm, TLOF.getDwarfAbbrevSection(), "section_abbrev");
|
||||
|
|
|
@ -68,8 +68,8 @@ public:
|
|||
//===----------------------------------------------------------------------===//
|
||||
/// \brief This class is used to track local variable information.
|
||||
///
|
||||
/// - Variables whose location changes over time have a DotDebugLocOffset and the
|
||||
/// other fields are not used.
|
||||
/// - Variables whose location changes over time have a DotDebugLocOffset and
|
||||
/// the other fields are not used.
|
||||
///
|
||||
/// - Variables that are described by multiple MMI table entries have multiple
|
||||
/// expressions and frame indices.
|
||||
|
@ -94,8 +94,9 @@ public:
|
|||
/// Construct a DbgVariable from a DEBUG_VALUE.
|
||||
/// AbstractVar may be NULL.
|
||||
DbgVariable(const MachineInstr *DbgValue, DwarfDebug *DD)
|
||||
: Var(DbgValue->getDebugVariable()), Expr(1, DbgValue->getDebugExpression()),
|
||||
TheDIE(nullptr), DotDebugLocOffset(~0U), MInsn(DbgValue), DD(DD) {
|
||||
: Var(DbgValue->getDebugVariable()),
|
||||
Expr(1, DbgValue->getDebugExpression()), TheDIE(nullptr),
|
||||
DotDebugLocOffset(~0U), MInsn(DbgValue), DD(DD) {
|
||||
FrameIndex.push_back(~0);
|
||||
}
|
||||
|
||||
|
@ -280,7 +281,8 @@ class DwarfDebug : public AsmPrinterHandler {
|
|||
// them.
|
||||
DenseMap<const MDNode *, const DwarfTypeUnit *> DwarfTypeUnits;
|
||||
|
||||
SmallVector<std::pair<std::unique_ptr<DwarfTypeUnit>, DICompositeType>, 1> TypeUnitsUnderConstruction;
|
||||
SmallVector<std::pair<std::unique_ptr<DwarfTypeUnit>, DICompositeType>, 1>
|
||||
TypeUnitsUnderConstruction;
|
||||
|
||||
// Whether to emit the pubnames/pubtypes sections.
|
||||
bool HasDwarfPubSections;
|
||||
|
|
Loading…
Reference in New Issue