diff options
| author | Dawn Perchik <dawn@burble.org> | 2015-10-07 19:55:33 +0000 |
|---|---|---|
| committer | Dawn Perchik <dawn@burble.org> | 2015-10-07 19:55:33 +0000 |
| commit | 74b8f4cbdf62b0b6944ab109782f633733a67e98 (patch) | |
| tree | d120b94a505dabccf6eb5d9299c22a38fde2e313 /llvm/lib/IR/MDBuilder.cpp | |
| parent | af6980c70ac45a9941dde930005807f00bd80f51 (diff) | |
| download | bcm5719-llvm-74b8f4cbdf62b0b6944ab109782f633733a67e98.tar.gz bcm5719-llvm-74b8f4cbdf62b0b6944ab109782f633733a67e98.zip | |
[lldb-mi] Fix evaluation of strings containing characters from non-ascii range
If a string contained characters outside the ASCII range, lldb-mi would
print them as hexadecimal codes. This patch fixes this behaviour by
converting to UTF-8 instead, by having lldb-mi use registered type
summary providers, when they are available. This patch also fixes
incorrect evaluation of some composite types, like std::string, by
having them use a type registered type summary provider.
Based on patch from evgeny.leviant@gmail.com
Reviewed by: ki.stfu, granata.enrico, clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13058
llvm-svn: 249597
Diffstat (limited to 'llvm/lib/IR/MDBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

