diff options
author | Ben Craig <ben.craig@codeaurora.org> | 2016-01-20 14:03:27 +0000 |
---|---|---|
committer | Ben Craig <ben.craig@codeaurora.org> | 2016-01-20 14:03:27 +0000 |
commit | a6dc36f65e1453875d93fe2aedc5d4100a827b57 (patch) | |
tree | 443f698739c3a1cf08426b02e7af3153e51568ae /lldb/packages/Python/lldbsuite | |
parent | 2451c4835a7332190255c497c00f1b1150aebf8d (diff) | |
download | bcm5719-llvm-a6dc36f65e1453875d93fe2aedc5d4100a827b57.tar.gz bcm5719-llvm-a6dc36f65e1453875d93fe2aedc5d4100a827b57.zip |
[libcxxabi] Make test tolerant of uncommon floating literal demanglings
libcxxabi uses the C99 library's %a format specifier to turn a floating
point value into a hexadecimal string representation. The %a format
specifier is rather loosely defined in the C spec though, and some C
libraries emit a different (but valid) string for a given floating
point value. In particular, the C spec only requires that there is a
single, non-zero hexadecimal digit on the left of the decimal point.
Given that constraint, there are typically four different valid
representations of a floating point number. I have updated the test to
accept any of the valid representations for demangled floating
point literals.
llvm-svn: 258311
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions