Hello,
I'm in process of switching a machine for NetBSD buildbot. It will be
temporarily unavailable.
signature.asc
Description: OpenPGP digital signature
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo
Hey lldb team!
I'm trying to use `expr --top-level` from lldb in Xcode but it throws
errors like the following:
(lldb) expression --top-level -- NSString *str = @"This is a string";
Error [IRForTarget]: Couldn't replace an Objective-C constant string with a
dynamic string
error: cannot import uns
This isn't an issue with ObjC support in general, but rather shows that ObjC
string constants are odd beasts. You can work around this pretty easily by
making dynamic strings:
(lldb) expr --top-level -- NSString *string = [NSString stringWithUTF8String:
"This is a string"];
(lldb) expr string