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

Guy David via All-commits all-commits at lists.llvm.org
Tue May 26 03:52:37 PDT 2026


  Branch: refs/heads/users/guy-david/orc-objc-imageinfo-erase-iter
  Home:   https://github.com/llvm/llvm-project
  Commit: 9939d617eb3daab1d49b2de13a9963befe73648e
      https://github.com/llvm/llvm-project/commit/9939d617eb3daab1d49b2de13a9963befe73648e
  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

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.



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