summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2018-07-09 12:16:40 +0000
committerSam McCall <sam.mccall@gmail.com>2018-07-09 12:16:40 +0000
commitd93eaeb7c399488b16753b1786a30ec6a59761c7 (patch)
tree67793aef0e29ef86851aee92b0f0c1cdc018240e /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parent6f33b330ae1808ab2a5d7184abafefc5d5821059 (diff)
downloadbcm5719-llvm-d93eaeb7c399488b16753b1786a30ec6a59761c7.tar.gz
bcm5719-llvm-d93eaeb7c399488b16753b1786a30ec6a59761c7.zip
[Support] Make JSON handle doubles and int64s losslessly
Summary: This patch adds a new "integer" ValueType, and renames Number -> Double. This allows us to preserve the full precision of int64_t when parsing integers from the wire, or constructing from an integer. The API is unchanged, other than giving asInteger() a clearer contract. In addition, always output doubles with enough precision that parsing will reconstruct the same double. Reviewers: simon_tatham Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46209 llvm-svn: 336541
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud