[Lldb-commits] [PATCH] D159164: [lldb] Add assembly syntax highlighting

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 1 14:21:44 PDT 2023


clayborg added inline comments.


================
Comment at: lldb/source/Core/Disassembler.cpp:662-663
   // consistent column spacing in these cases, unfortunately.
-  if (m_opcode_name.length() >= opcode_column_width) {
-    opcode_column_width = m_opcode_name.length() + 1;
+  if (opcode_name.length() >= opcode_column_width) {
+    opcode_column_width = opcode_name.length() + 1;
   }
----------------
clayborg wrote:
> still need to directly use "m_opcode_name" here instead of "opcode_name" so we don't include color codes as characters.



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159164/new/

https://reviews.llvm.org/D159164



More information about the lldb-commits mailing list