@@ -68,23 +68,24 @@ static bool printOp(const DWARFExpression::Operation *Op, raw_ostream &OS,
6868
6969 if (!DumpOpts.PrintRegisterOnly ) {
7070 for (unsigned Operand = 0 ; Operand < Op->getDescription ().Op .size ();
71- ++Operand) {
71+ ++Operand) {
7272 unsigned Size = Op->getDescription ().Op [Operand];
7373 unsigned Signed = Size & DWARFExpression::Operation::SignBit;
7474
7575 if (Size == DWARFExpression::Operation::SizeSubOpLEB) {
76- StringRef SubName =
77- SubOperationEncodingString ( Op->getCode (), Op->getRawOperand (Operand));
76+ StringRef SubName = SubOperationEncodingString (
77+ Op->getCode (), Op->getRawOperand (Operand));
7878 assert (!SubName.empty () && " DW_OP SubOp has no name!" );
7979 OS << " " << SubName;
8080 } else if (Size == DWARFExpression::Operation::BaseTypeRef && U) {
8181 // For DW_OP_convert the operand may be 0 to indicate that conversion to
82- // the generic type should be done. The same holds for DW_OP_reinterpret,
83- // which is currently not supported.
82+ // the generic type should be done. The same holds for
83+ // DW_OP_reinterpret, which is currently not supported.
8484 if (Op->getCode () == DW_OP_convert && Op->getRawOperand (Operand) == 0 )
8585 OS << " 0x0" ;
8686 else
87- prettyPrintBaseTypeRef (U, OS, DumpOpts, Op->getRawOperands (), Operand);
87+ prettyPrintBaseTypeRef (U, OS, DumpOpts, Op->getRawOperands (),
88+ Operand);
8889 } else if (Size == DWARFExpression::Operation::WasmLocationArg) {
8990 assert (Operand == 1 );
9091 switch (Op->getRawOperand (0 )) {
@@ -102,12 +103,12 @@ static bool printOp(const DWARFExpression::Operation *Op, raw_ostream &OS,
102103 uint64_t Offset = Op->getRawOperand (Operand);
103104 for (unsigned i = 0 ; i < Op->getRawOperand (Operand - 1 ); ++i)
104105 OS << format (" 0x%02x" ,
105- static_cast <uint8_t >(Expr->getData ()[Offset++]));
106+ static_cast <uint8_t >(Expr->getData ()[Offset++]));
106107 } else {
107108 if (Signed)
108109 OS << format (" %+" PRId64, (int64_t )Op->getRawOperand (Operand));
109110 else if (Op->getCode () != DW_OP_entry_value &&
110- Op->getCode () != DW_OP_GNU_entry_value)
111+ Op->getCode () != DW_OP_GNU_entry_value)
111112 OS << format (" 0x%" PRIx64, Op->getRawOperand (Operand));
112113 }
113114 }
0 commit comments