[all-commits] [llvm/llvm-project] 0c7d82: [NFC][lldb] move DiagnosticsRendering to Host (#16...

Charles Zablit via All-commits all-commits at lists.llvm.org
Wed Nov 19 09:53:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c7d826129209972741dda3bd8bc40e500d5cda8
      https://github.com/llvm/llvm-project/commit/0c7d826129209972741dda3bd8bc40e500d5cda8
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2025-11-19 (Wed, 19 Nov 2025)

  Changed paths:
    M lldb/include/lldb/Expression/DiagnosticManager.h
    A lldb/include/lldb/Host/common/DiagnosticsRendering.h
    M lldb/include/lldb/Interpreter/CommandReturnObject.h
    R lldb/include/lldb/Utility/DiagnosticsRendering.h
    M lldb/include/lldb/ValueObject/DILParser.h
    M lldb/source/Commands/CommandObjectExpression.cpp
    M lldb/source/Host/CMakeLists.txt
    A lldb/source/Host/common/DiagnosticsRendering.cpp
    M lldb/source/Interpreter/CommandReturnObject.cpp
    M lldb/source/Interpreter/Options.cpp
    M lldb/source/Utility/CMakeLists.txt
    R lldb/source/Utility/DiagnosticsRendering.cpp
    M lldb/source/ValueObject/DILParser.cpp
    M lldb/unittests/Host/common/CMakeLists.txt
    A lldb/unittests/Host/common/DiagnosticsRenderingTest.cpp
    M lldb/unittests/Utility/CMakeLists.txt
    R lldb/unittests/Utility/DiagnosticsRenderingTest.cpp
    M llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Utility/BUILD.gn

  Log Message:
  -----------
  [NFC][lldb] move DiagnosticsRendering to Host (#168696)

NFC patch which moves `DiagnosticsRendering` from `Utility` to `Host`.

This refactoring is needed for
https://github.com/llvm/llvm-project/pull/168603. It adds a method to
check whether the current terminal supports Unicode or not. This will be
OS dependent and a better fit for `Host`. Since `Utility` cannot depend
on `Host`, `DiagnosticsRendering` must live in `Host` instead.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list