diff options
author | Vedant Kumar <vsk@apple.com> | 2020-06-03 11:52:29 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-06-03 12:24:23 -0700 |
commit | 4699a7e23010b7c0df49b64f8bea63919825a787 (patch) | |
tree | 40317cf2fb67dacf62cf6c6b877fc1dc2f35292c /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 7822b8a817d85827110f3047f4ec63f6825743a4 (diff) | |
download | llvm-4699a7e23010b7c0df49b64f8bea63919825a787.zip llvm-4699a7e23010b7c0df49b64f8bea63919825a787.tar.gz llvm-4699a7e23010b7c0df49b64f8bea63919825a787.tar.bz2 |
[lldb/StringPrinter] Support strings with invalid utf8 sub-sequences
Support printing strings which contain invalid utf8 sub-sequences, e.g.
strings like "hello world \xfe", instead of bailing out with "Summary
Unavailable".
I took the opportunity here to delete some hand-rolled utf8 -> utf32
conversion code and replace it with calls into llvm's Support library.
rdar://61554346
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions