aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SafeStack.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-07-12 13:57:41 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-07-12 13:57:41 +0000
commit4d08f899e39b72dd351e9ab61ca16924adb0c860 (patch)
treee077f678d82938e574886b70e01ad82d79209a86 /llvm/lib/CodeGen/SafeStack.cpp
parentde54e2c4df98f725e9ef9f4885cf2fe136ef2956 (diff)
downloadllvm-4d08f899e39b72dd351e9ab61ca16924adb0c860.zip
llvm-4d08f899e39b72dd351e9ab61ca16924adb0c860.tar.gz
llvm-4d08f899e39b72dd351e9ab61ca16924adb0c860.tar.bz2
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 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions