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

Guy David via All-commits all-commits at lists.llvm.org
Tue May 26 08:51:36 PDT 2026


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