summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.c.headers
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-06-24 07:03:07 +0000
committerJustin Bogner <mail@justinbogner.com>2015-06-24 07:03:07 +0000
commitaa315fbb4c18b0bfcd54658f3f5b67600f097f8c (patch)
tree65540b0f0d79244f6f5cab0aaabd1972c20276e9 /libcxx/test/std/depr/depr.c.headers
parentc267b5f5aa7a6b16d7d50cbda00c79ed6c210695 (diff)
downloadbcm5719-llvm-aa315fbb4c18b0bfcd54658f3f5b67600f097f8c.tar.gz
bcm5719-llvm-aa315fbb4c18b0bfcd54658f3f5b67600f097f8c.zip
Hexagon: Paper over the undefined behaviour introduced by r238692
This stops shifting a 32-bit value by such absurd amounts as 96 and 120. We do this by dropping a call to the function that was doing this entirely, which rather surprisingly doesn't break *any* tests. I've also added an assert in the misbehaving function to prove that it's no longer being called with completely invalid arguments. This change looks pretty bogus and we should probably be reverting r238692 instead, but this is hard to do with the number of follow ups that have happened since. It can't be any worse than the undefined behaviour that was happening before though. llvm-svn: 240526
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud