aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-06-08 14:19:07 +0200
committerNikita Popov <npopov@redhat.com>2022-06-08 14:21:25 +0200
commit38ad963cc9998c5b60bde8253670237eebc8ca74 (patch)
tree33daae051c57a30e36b18b6afba3718050f8ecab /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentbf21cda7f260d2643ff7fa4e9520ba63114b59fc (diff)
downloadllvm-38ad963cc9998c5b60bde8253670237eebc8ca74.zip
llvm-38ad963cc9998c5b60bde8253670237eebc8ca74.tar.gz
llvm-38ad963cc9998c5b60bde8253670237eebc8ca74.tar.bz2
[sanitizer] Fix shift UB in LEB128 test
If u64 and uptr have the same size, then this will perform a shift by the bitwidth, which is UB. We only need this code if uptr is smaller than u64.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions