[all-commits] [llvm/llvm-project] b22adf: [clang][Interp] Clear pointers pointing to dead bl...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Jul 13 07:00:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b22adf02a2d2cc290d618fe47bec5aeec47ab992
      https://github.com/llvm/llvm-project/commit/b22adf02a2d2cc290d618fe47bec5aeec47ab992
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-13 (Sat, 13 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/InterpState.cpp
    M clang/lib/AST/Interp/Pointer.h
    M clang/test/AST/Interp/lifetimes.cpp

  Log Message:
  -----------
  [clang][Interp] Clear pointers pointing to dead blocks

before free()ing the dead blocks. Otherwise, we might end up with
dangling Pointers to those dead blocks.



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