[all-commits] [llvm/llvm-project] 294643: [clang][bytecode] Check lifetime of all ptr bases ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat May 24 05:17:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 294643e4bdc843343ef20069a4d6d0de872b3303
      https://github.com/llvm/llvm-project/commit/294643e4bdc843343ef20069a4d6d0de872b3303
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-05-24 (Sat, 24 May 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/DynamicAllocator.cpp
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/Opcodes.td
    M clang/test/AST/ByteCode/new-delete.cpp
    M clang/test/AST/ByteCode/placement-new.cpp

  Log Message:
  -----------
  [clang][bytecode] Check lifetime of all ptr bases in placement-new (#141272)

placement-new'ing an object with a dead base object is not allowed, so
we need to check all the pointer bases.



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