Re: [lldb-dev] LLDB sometimes escapes unicode characters, sometimes not

2020-03-23 Thread Jaroslav Sevcik via lldb-dev
Attempt at a fix: https://reviews.llvm.org/D76650 On Mon, Mar 23, 2020 at 5:22 PM Lutz Justen via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Sorry, the link was internal. Here's the proper on: > > https://github.com/llvm-mirror/lldb/blob/master/source/Core/FormatEntity.cpp#L861 > > > On Mon, Ma

Re: [lldb-dev] LLDB sometimes escapes unicode characters, sometimes not

2020-03-23 Thread Lutz Justen via lldb-dev
Sorry, the link was internal. Here's the proper on: https://github.com/llvm-mirror/lldb/blob/master/source/Core/FormatEntity.cpp#L861 On Mon, Mar 23, 2020 at 4:00 PM Lutz Justen wrote: > Hey, > > We've noticed that LLDB sometimes escapes certain characters (e.g. in the > +128/negative range) of

[lldb-dev] LLDB sometimes escapes unicode characters, sometimes not

2020-03-23 Thread Lutz Justen via lldb-dev
Hey, We've noticed that LLDB sometimes escapes certain characters (e.g. in the +128/negative range) of const char* strings and sometimes it doesn't. In particular, this happens for unicode strings: C++: const char* str = u8"😂"; LLDB: (lldb) expr str (const char *) $0 = 0x7ff662489d18 "≡ƒÿé"