shafik created this revision. shafik added reviewers: wallace, JDevlieghere. shafik requested review of this revision.
Several of the comments were annotating the wrong argument. I caught this while reviewing this clean-up: https://github.com/llvm/llvm-project/commit/8afcfbfb8fc1e53023ffac9d9bdc424248d6d2ff which was changing booleans to use `true` and `false` and in the this case the comment and the type looked mismatched. https://reviews.llvm.org/D116982 Files: lldb/source/Target/TraceInstructionDumper.cpp Index: lldb/source/Target/TraceInstructionDumper.cpp =================================================================== --- lldb/source/Target/TraceInstructionDumper.cpp +++ lldb/source/Target/TraceInstructionDumper.cpp @@ -148,9 +148,8 @@ if (!insn.instruction) return; s.Printf(" "); - insn.instruction->Dump(&s, /*show_address=*/false, /*show_bytes=*/false, - /*max_opcode_byte_size=*/false, &insn.exe_ctx, - &insn.sc, + insn.instruction->Dump(&s, /*max_opcode_byte_size=*/0, /*show_address=*/false, + /*show_bytes=*/false, &insn.exe_ctx, &insn.sc, /*prev_sym_ctx=*/nullptr, /*disassembly_addr_format=*/nullptr, /*max_address_text_size=*/0);
Index: lldb/source/Target/TraceInstructionDumper.cpp =================================================================== --- lldb/source/Target/TraceInstructionDumper.cpp +++ lldb/source/Target/TraceInstructionDumper.cpp @@ -148,9 +148,8 @@ if (!insn.instruction) return; s.Printf(" "); - insn.instruction->Dump(&s, /*show_address=*/false, /*show_bytes=*/false, - /*max_opcode_byte_size=*/false, &insn.exe_ctx, - &insn.sc, + insn.instruction->Dump(&s, /*max_opcode_byte_size=*/0, /*show_address=*/false, + /*show_bytes=*/false, &insn.exe_ctx, &insn.sc, /*prev_sym_ctx=*/nullptr, /*disassembly_addr_format=*/nullptr, /*max_address_text_size=*/0);
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits