diff options
author | Weiming Zhao <weimingz@codeaurora.org> | 2018-03-08 00:28:25 +0000 |
---|---|---|
committer | Weiming Zhao <weimingz@codeaurora.org> | 2018-03-08 00:28:25 +0000 |
commit | a4259cd3a6268d6b7e27acd45fd6f114e2ac9ac2 (patch) | |
tree | e9723a0ae0cb207ea811fc2464bf96f440e8febb /lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py | |
parent | ab1e5a187dd92d805bbbef6fb680273b7a2ee3d8 (diff) | |
download | bcm5719-llvm-a4259cd3a6268d6b7e27acd45fd6f114e2ac9ac2.tar.gz bcm5719-llvm-a4259cd3a6268d6b7e27acd45fd6f114e2ac9ac2.zip |
[AArch64] Fix UB about shift amount exceeds data bit-width
Summary:
Fixes an UB caught by sanitizer. The shift amount might be larger than 32 so the operand should be 1ULL.
In this patch, we replace the original expression with existing API with uint64_t type.
Reviewers: eli.friedman, rengolin
Reviewed By: rengolin
Subscribers: rengolin, javed.absar, llvm-commits, kristof.beyls
Differential Revision: https://reviews.llvm.org/D44234
llvm-svn: 326969
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py')
0 files changed, 0 insertions, 0 deletions