[all-commits] [llvm/llvm-project] 138926: [JITLink][MachO][arm64] Fix error-check order.

Lang Hames via All-commits all-commits at lists.llvm.org
Thu Feb 8 16:57:48 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1389260805ec2ffb74a4fb311e7327c64d9b8f54
      https://github.com/llvm/llvm-project/commit/1389260805ec2ffb74a4fb311e7327c64d9b8f54
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp

  Log Message:
  -----------
  [JITLink][MachO][arm64] Fix error-check order.

The error check should be performed after the iterator increment, not before
it. Thanks to @dcb314 for catching this!

Fixes github.com/apple/swift/issues/81119




More information about the All-commits mailing list