[all-commits] [llvm/llvm-project] eca863: [ORC] Avoid iterator invalidation when erasing ima...

Guy David via All-commits all-commits at lists.llvm.org
Tue May 26 09:39:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eca8638e130325d108e39aab5654bae8f0a06209
      https://github.com/llvm/llvm-project/commit/eca8638e130325d108e39aab5654bae8f0a06209
  Author: Guy David <guyda96 at gmail.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

  Log Message:
  -----------
  [ORC] Avoid iterator invalidation when erasing image info symbols (#199655)

processObjCImageInfo iterated the section's DenseSet of symbols while
calling removeDefinedSymbol, which erases from that same set. Re-fetch
begin() each iteration so the iterator is always fresh.

Started with https://github.com/llvm/llvm-project/pull/199369.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list