Home
last modified time | relevance | path

Searched refs:DwarfExpr (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp223 std::unique_ptr<DIEDwarfExpression> DwarfExpr; in addLocationAttribute() local
258 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute()
277 DwarfExpr->addFragmentOffset(Expr); in addLocationAttribute()
365 if (DwarfExpr->isUnknownLocation()) in addLocationAttribute()
366 DwarfExpr->setMemoryLocationKind(); in addLocationAttribute()
367 DwarfExpr->addExpression(Expr); in addLocationAttribute()
379 addBlock(*VariableDIE, dwarf::DW_AT_location, DwarfExpr->finalize()); in addLocationAttribute()
567 DIEDwarfExpression DwarfExpr(*Asm, *this, *Loc); in updateSubprogramScopeDIE() local
569 DwarfExpr.addWasmLocation(FrameBase.Location.WasmLoc.Kind, in updateSubprogramScopeDIE()
571 DwarfExpr.addExpression(std::move(Cursor)); in updateSubprogramScopeDIE()
[all …]
H A DDwarfUnit.cpp744 DIEDwarfExpression DwarfExpr(*Asm, getCU(), *Loc); in constructTypeDIE() local
748 DwarfExpr.setMemoryLocationKind(); in constructTypeDIE()
749 DwarfExpr.addExpression(Expr); in constructTypeDIE()
750 addBlock(Buffer, dwarf::DW_AT_string_length, DwarfExpr.finalize()); in constructTypeDIE()
758 DIEDwarfExpression DwarfExpr(*Asm, getCU(), *Loc); in constructTypeDIE() local
761 DwarfExpr.setMemoryLocationKind(); in constructTypeDIE()
762 DwarfExpr.addExpression(Expr); in constructTypeDIE()
763 addBlock(Buffer, dwarf::DW_AT_data_location, DwarfExpr.finalize()); in constructTypeDIE()
1404 DIEDwarfExpression DwarfExpr(*Asm, getCU(), *Loc); in constructSubrangeDIE() local
1405 DwarfExpr.setMemoryLocationKind(); in constructSubrangeDIE()
[all …]
H A DDwarfDebug.cpp2638 DwarfExpression &DwarfExpr) { in emitDebugLocValue() argument
2641 DwarfExpr.addFragmentOffset(DIExpr); in emitDebugLocValue()
2651 DwarfExpr.setLocation(Location, DIExpr); in emitDebugLocValue()
2653 DwarfExpr.beginEntryValueExpression(ExprCursor); in emitDebugLocValue()
2656 if (!DwarfExpr.addMachineRegExpression(TRI, ExprCursor, Location.getReg())) in emitDebugLocValue()
2658 return DwarfExpr.addExpression(std::move(ExprCursor)); in emitDebugLocValue()
2662 auto EmitValueLocEntry = [&DwarfExpr, &BT, in emitDebugLocValue()
2668 DwarfExpr.addSignedConstant(Entry.getInt()); in emitDebugLocValue()
2670 DwarfExpr.addUnsignedConstant(Entry.getInt()); in emitDebugLocValue()
2674 DwarfExpr.setMemoryLocationKind(); in emitDebugLocValue()
[all …]
H A DDwarfDebug.h916 DwarfExpression &DwarfExpr);