diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2019-07-12 13:57:41 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2019-07-12 13:57:41 +0000 |
commit | 4d08f899e39b72dd351e9ab61ca16924adb0c860 (patch) | |
tree | e077f678d82938e574886b70e01ad82d79209a86 /lldb/packages/Python/lldbsuite/test/python_api/value | |
parent | de54e2c4df98f725e9ef9f4885cf2fe136ef2956 (diff) | |
download | bcm5719-llvm-4d08f899e39b72dd351e9ab61ca16924adb0c860.tar.gz bcm5719-llvm-4d08f899e39b72dd351e9ab61ca16924adb0c860.zip |
Dump floating-point values as strings when dumping to JSON.
This fixes a bug where we would have an invalid JSON attribute (e.g., "value": inf). It also increases the precision of the values because they're not represented as approximate doubles with the host architecture's floating-point model.
llvm-svn: 365900
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value')
0 files changed, 0 insertions, 0 deletions