[all-commits] [llvm/llvm-project] a2be1b: [msan] Don't modify CFG iterating it (#90691)

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed May 1 14:47:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2be1b8d03320908c4d4b42e5bd8b7569b1f9aae
      https://github.com/llvm/llvm-project/commit/a2be1b8d03320908c4d4b42e5bd8b7569b1f9aae
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

  Log Message:
  -----------
  [msan] Don't modify CFG iterating it (#90691)

In rare cases `SplitBlockAndInsertSimpleForLoop` in `paintOrigin`
crashes outsize iterators.

Somehow existing `SplitBlockAndInsertIfThen` do not invalidate
iterators.



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