[all-commits] [llvm/llvm-project] 3671a6: [clang][Interp] Call destructors of local variables
Timm Baeder via All-commits
all-commits at lists.llvm.org
Mon Oct 23 21:27:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3671a69470f3fa708926a9e5ce579751c6b51dac
https://github.com/llvm/llvm-project/commit/3671a69470f3fa708926a9e5ce579751c6b51dac
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-10-24 (Tue, 24 Oct 2023)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpState.cpp
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp] Call destructors of local variables
This prevents us from leaking memory if the interpretation of byte code
fails midway-throug.
Differential Revision: https://reviews.llvm.org/D154581
More information about the All-commits
mailing list