teak-llvm/lldb/packages/Python/lldbsuite/test/lang/objc
Sean Callanan cd1eb72bab Handle UTF-16 and UTF-32 constant CFStrings
We have a longstanding issue where the expression parser does not handle wide CFStrings (e.g., @"凸凹") correctly, producing the useless error message

Internal error [IRForTarget]: An Objective-C constant string's string initializer is not an array
error: warning: expression result unused
error: The expression could not be prepared to run in the target

This is just a side effect of the fact that we don't handle wide string constants when converting these to CFStringCreateWithBytes. That function takes the string's encoding as an argument, so I made it work and added a testcase.

https://reviews.llvm.org/D27291
<rdar://problem/13190557>

llvm-svn: 288386
2016-12-01 17:46:51 +00:00
..
bitfield_ivars *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
blocks *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
forward-decl *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
foundation More testsuite xfail markings cleanup. 2016-10-18 01:43:22 +00:00
global_ptrs *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
hidden-ivars *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ivar-IMP This test passes on i386 now. 2016-10-14 01:11:19 +00:00
modules Added a decorator for the macOS version and switched over testcases that used platform.release 2016-10-20 00:03:39 +00:00
modules-auto-import Added a decorator for the macOS version and switched over testcases that used platform.release 2016-10-20 00:03:39 +00:00
modules-incomplete Added a decorator for the macOS version and switched over testcases that used platform.release 2016-10-20 00:03:39 +00:00
modules-inline-functions Added a decorator for the macOS version and switched over testcases that used platform.release 2016-10-20 00:03:39 +00:00
objc-baseclass-sbtype *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-builtin-types *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-checker *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-class-method This test is passing on i386 now. 2016-10-14 01:03:03 +00:00
objc-dyn-sbtype *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-dynamic-value *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-ivar-offsets *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-ivar-protocols *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-ivar-stripped *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-new-syntax remove xfail from TestObjCNewSyntax.py test_expr_gmodules() 2016-10-24 21:46:46 +00:00
objc-optimized *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-property *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-runtime-ivars Skip TestRuntimeIvars on i386; the Objective-C V1 runtime doesn't list ivars. 2016-09-30 16:02:28 +00:00
objc-static-method *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-static-method-stripped *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-stepping *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-struct-argument *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-struct-return *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
objc-super More testsuite xfail markings cleanup. 2016-10-18 01:43:22 +00:00
objc++ *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
print-obj *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
radar-9691614 *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
rdar-10967107 *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
rdar-11355592 *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
rdar-12408181 *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
real-definition *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
sample
self *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
single-entry-dictionary *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
unicode-string Handle UTF-16 and UTF-32 constant CFStrings 2016-12-01 17:46:51 +00:00
variadic_methods *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
.categories