[Lldb-commits] [lldb] [lldb] improve the heuristics for checking if a terminal supports Unicode (PR #168603)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 18 16:07:28 PST 2025


================
@@ -7,6 +7,8 @@
 //===----------------------------------------------------------------------===//
 
 #include "lldb/Utility/DiagnosticsRendering.h"
+#include "lldb/Host/Terminal.h"
+
 #include <cstdint>
----------------
bulbazord wrote:

Ah, this is a layer violation. Utility is not supposed to depend on anything else in LLDB. You would want to move this functionality in `DiagnosticsRendering` to Host for this to make sense.

https://github.com/llvm/llvm-project/pull/168603


More information about the lldb-commits mailing list