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
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 "😂"
Hi,
We're running into a problem where a Python SBValue references stale
memory. It can be reproduced by evaluating an expression with a constant
string:
var1 = frame.EvaluateExpression("\"ABCDEFGEH\"")
var2 = frame.EvaluateExpression("\"123456789\"")
print(var1.GetSummary())
prin