[all-commits] [llvm/llvm-project] 3655de: [clang][Interp] Avoid a dangling pointer

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Jul 9 01:00:34 PDT 2024


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

  Changed paths:
    M clang/lib/AST/Interp/InterpBlock.cpp

  Log Message:
  -----------
  [clang][Interp] Avoid a dangling pointer

We've just moved all the pointers from the Block to the DeadBlock,
so make sure the old Block doesn't point to a linked list of Pointers
that don't even point to it anymore.


  Commit: efc5a6aa82081aaa002f90baa21fc16655af0729
      https://github.com/llvm/llvm-project/commit/efc5a6aa82081aaa002f90baa21fc16655af0729
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/Disasm.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Print Block descriptor in ::dump()


Compare: https://github.com/llvm/llvm-project/compare/58e750bfd621...efc5a6aa8208

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