[all-commits] [llvm/llvm-project] 73b659: [lld-macho] Fix left shift of negative value UB

Daniel Bertalan via All-commits all-commits at lists.llvm.org
Fri Jul 1 03:03:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73b659ff55ea50c7901012ca0b0bde23a83b208b
      https://github.com/llvm/llvm-project/commit/73b659ff55ea50c7901012ca0b0bde23a83b208b
  Author: Daniel Bertalan <dani at danielbertalan.dev>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

  Changed paths:
    M lld/MachO/Arch/ARM64.cpp

  Log Message:
  -----------
  [lld-macho] Fix left shift of negative value UB

I introduced this mistake in 573c7e6b3c79c7ce80a2221e000fab7dd20c0bb4.

Fixes the failure on this UBSan bot:
https://lab.llvm.org/buildbot/#/builders/5/builds/25537




More information about the All-commits mailing list