summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHContainerOperations.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2018-12-12 02:22:12 +0000
committerFlorian Hahn <flo@fhahn.com>2018-12-12 02:22:12 +0000
commitcc419ad7df2b90d07b7e36244cc24269be9435d8 (patch)
tree8a525845a798610e20dbd9ee1f5399e86d36da1d /clang/lib/Frontend/PCHContainerOperations.cpp
parent8272a71285609b9786bfc83611737069063b5414 (diff)
downloadbcm5719-llvm-cc419ad7df2b90d07b7e36244cc24269be9435d8.tar.gz
bcm5719-llvm-cc419ad7df2b90d07b7e36244cc24269be9435d8.zip
[ConstantInt] Check active bits before calling getZExtValue.
Without this check, we hit an assertion in getZExtValue, if the constant value does not fit into an uint64_t. As getZExtValue returns an uint64_t, should we update getAggregateElement to take an uin64_t as well? This fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6109. Reviewers: efriedma, craig.topper, spatel Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D55547 llvm-svn: 348906
Diffstat (limited to 'clang/lib/Frontend/PCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud