summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorSajjad Mirza <sajjadm@google.com>2019-11-15 18:09:53 -0800
committerSajjad Mirza <sajjadm@google.com>2019-11-15 18:13:45 -0800
commit97c742e6b74e731afdef74dd5f8366ce883e0520 (patch)
tree4c1c85397c88aeff6cf10bb2345b706b58362afb /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parent2c7c528d7ac17230f1f239b629a02d407a74e1bf (diff)
downloadbcm5719-llvm-97c742e6b74e731afdef74dd5f8366ce883e0520.tar.gz
bcm5719-llvm-97c742e6b74e731afdef74dd5f8366ce883e0520.zip
[llvm-cov] Fix illegal cast from uint64_t to int64_t
Summary: Counters are stored as uint64_t in the coverage mapping, but exporting in JSON requires signed integers. Clamp the values to the smaller range to make the conversion safe. Reviewers: Dor1s, vsk Reviewed By: Dor1s Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70200
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud