summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Value.cpp
diff options
context:
space:
mode:
authorDawn Perchik <dawn@burble.org>2015-09-25 02:16:52 +0000
committerDawn Perchik <dawn@burble.org>2015-09-25 02:16:52 +0000
commit045c8292231be31f904520cebffba907d1b04b85 (patch)
tree7fc3b4c0d631d549a1b239aba3247c0f70f0d699 /llvm/lib/IR/Value.cpp
parentaa7c533ec326465523021960e315999db15673a2 (diff)
downloadbcm5719-llvm-045c8292231be31f904520cebffba907d1b04b85.tar.gz
bcm5719-llvm-045c8292231be31f904520cebffba907d1b04b85.zip
Fix evaluation of unicode character arrays (char16_t[] and char32_t[])
Suppose we have the UTF-16 string: char16_t[] s = u"hello"; Before this patch, evaluating the string in lldb would get: (char16_t [6]) $0 = ([0] = U+0068 u'h', [1] = U+0065 u'e', [2] = U+006c u'l', [3] = U+006c u'l', [4] = U+006f u'o', [5] = U+0000 u'\0') After applying the patch, we now get: (char16_t [6]) $0 = u"hello" Patch from evgeny.leviant@gmail.com Reviewed by: granata.enrico Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13053 llvm-svn: 248555
Diffstat (limited to 'llvm/lib/IR/Value.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud