[all-commits] [llvm/llvm-project] 727484: [lldb] Fix editline unicode on Linux

Jan Kratochvil via All-commits all-commits at lists.llvm.org
Tue Jul 13 04:01:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72748488addd651beb7b60da462c721f3e175357
      https://github.com/llvm/llvm-project/commit/72748488addd651beb7b60da462c721f3e175357
  Author: Jan Kratochvil <jan.kratochvil at redhat.com>
  Date:   2021-07-13 (Tue, 13 Jul 2021)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp
    M lldb/tools/driver/Driver.cpp

  Log Message:
  -----------
  [lldb] Fix editline unicode on Linux

Based on:
  [lldb-dev] proposed change to remove conditional WCHAR support in libedit wrapper
  https://lists.llvm.org/pipermail/lldb-dev/2021-July/016961.html

There is already setlocale in lldb/source/Core/IOHandlerCursesGUI.cpp
but that does not apply for Editline GUI editing.

Unaware how to make automated test for this, it requires pty.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D105779




More information about the All-commits mailing list