[all-commits] [llvm/llvm-project] 3eaf4a: [clang][bytecode] Check for memory leaks after des...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Oct 18 04:03:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3eaf4a9d1a847a4e03a21365682b3a73d7e2e6d0
      https://github.com/llvm/llvm-project/commit/3eaf4a9d1a847a4e03a21365682b3a73d7e2e6d0
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

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

  Log Message:
  -----------
  [clang][bytecode] Check for memory leaks after destroying global scope (#112868)

The global scope we create when evaluating expressions might free some
of the dynamic memory allocations, so we can't check for memory leaks
before destroying it.



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