[all-commits] [llvm/llvm-project] a69f78: [lldb] Add syntax color highlighting for disassembly

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Sep 1 14:48:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a69f78b080ef7efd2854ba199248713d956ea40c
      https://github.com/llvm/llvm-project/commit/a69f78b080ef7efd2854ba199248713d956ea40c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M lldb/include/lldb/Core/Disassembler.h
    M lldb/source/Core/Disassembler.cpp
    M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
    M lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
    A lldb/test/Shell/Commands/command-disassemble-aarch64-color.s

  Log Message:
  -----------
  [lldb] Add syntax color highlighting for disassembly

Add support for syntax color highlighting disassembly in LLDB. This
patch relies on 77d1032516e7, which introduces support for syntax
highlighting in MC.

Currently only AArch64 and X86 have color support, but other interested
backends can adopt WithColor in their respective MCInstPrinter.

Differential revision: https://reviews.llvm.org/D159164




More information about the All-commits mailing list