diff options
author | Zachary Turner <zturner@google.com> | 2018-08-16 16:17:36 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-08-16 16:17:36 +0000 |
commit | 970fdc3236631a0019d3c4a4bfe07f2a67b29c25 (patch) | |
tree | 9732d64cf1b0469ca02f5cba0e6ae87e6751b6b9 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 83313f8f54b4a0da8fda13bc6e90043b8137bf7f (diff) | |
download | bcm5719-llvm-970fdc3236631a0019d3c4a4bfe07f2a67b29c25.tar.gz bcm5719-llvm-970fdc3236631a0019d3c4a4bfe07f2a67b29c25.zip |
[MS Demangler] Demangle string literals.
When demangling string literals, Microsoft's undname
simply prints 'string'. This patch implements string
literal demangling while doing a bit better than this
by decoding as much of the string as possible and
trying to faithfully reproduce the original string
literal definition.
This is a bit tricky because the different character
types char, char16_t, and char32_t are not uniquely
identified by the mangling, so we have to use a
heuristic to try to guess the character type. But
it works pretty well, and many tests are added to
illustrate the behavior.
Differential Revision: https://reviews.llvm.org/D50806
llvm-svn: 339892
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions