[lldb-dev] proposed change to remove conditional WCHAR support in libedit wrapper

Jan Kratochvil via lldb-dev lldb-dev at lists.llvm.org
Sun Jul 11 02:11:02 PDT 2021

On Sat, 10 Jul 2021 10:51:34 +0200, Neal Sidhwaney via lldb-dev wrote:
> Anyone else think this could be useful? Or, conversely, does anyone see
> something that I missed that requires the conditional compilation to remain
> in?

Oldest platform Red Hat builds LLDB on is RHEL-7 (and its copies) and it
already contains el_winsertstr and your branch builds fine there.

OTOH the wide character does not work there and even not on Fedora 34 x86_64:
typing: žščř
(lldb) \U+017E\U+0161\U+010D\U+0159
error: 'žščř' is not a valid command.
typing: áéíóůúý
(lldb) \U+016F
error: 'ů' is not a valid command.

While mariadb client works fine on Fedora 34 x86_64:
MariaDB [(none)]> žščřáéíóůúý;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'žščřáéíóůúý' at line 1

Do you have an idea what can be wrong in LLDB?


More information about the lldb-dev mailing list