diff options
author | Nikita Popov <npopov@redhat.com> | 2022-06-08 14:19:07 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-06-08 14:21:25 +0200 |
commit | 38ad963cc9998c5b60bde8253670237eebc8ca74 (patch) | |
tree | 33daae051c57a30e36b18b6afba3718050f8ecab /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | bf21cda7f260d2643ff7fa4e9520ba63114b59fc (diff) | |
download | llvm-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