aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorJob Noorman <jnoorman@igalia.com>2023-04-13 14:29:18 +0200
committerJob Noorman <jnoorman@igalia.com>2023-04-13 14:29:19 +0200
commitdf3f1e2f31300f95845c39a76a45c95dab64cd12 (patch)
tree43da31d56e73931432c5ce0d6019a4d3d5156e19 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parentb3ed6e545568a2b483561b416c36942ce2e5d2a2 (diff)
downloadllvm-df3f1e2f31300f95845c39a76a45c95dab64cd12.zip
llvm-df3f1e2f31300f95845c39a76a45c95dab64cd12.tar.gz
llvm-df3f1e2f31300f95845c39a76a45c95dab64cd12.tar.bz2
[BOLT][NFC] Fix UB due to left shift of negative value
The following test fails when enabling UBSan due to a left shift of a negative value: > runtime error: left shift of negative value -2 BOLT :: AArch64/ext-island-ref.s This patch fixes this by using a multiplication instead of a shift. Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D148218
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions