[all-commits] [llvm/llvm-project] 2ea5ec: [clang][bytecode] Fix a crash in Destroy op (#154695)

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Aug 21 04:24:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ea5ec78db3e76f2c31309d89b7697ec02a8ab5e
      https://github.com/llvm/llvm-project/commit/2ea5ec78db3e76f2c31309d89b7697ec02a8ab5e
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-08-21 (Thu, 21 Aug 2025)

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

  Log Message:
  -----------
  [clang][bytecode] Fix a crash in Destroy op (#154695)

The local we're destroying might've been created for an expression, in
which case asDecl() on the DeclDesc returns nullptr.

Fixes #152958



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