[all-commits] [llvm/llvm-project] 9de8b0: [clang-repl] Support destructors of global objects.
Sunho Kim via All-commits
all-commits at lists.llvm.org
Sun Jun 26 03:03:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9de8b05bfe0de2915d2443d06159396c5f9d389f
https://github.com/llvm/llvm-project/commit/9de8b05bfe0de2915d2443d06159396c5f9d389f
Author: Sunho Kim <ksunhokim123 at gmail.com>
Date: 2022-06-26 (Sun, 26 Jun 2022)
Changed paths:
M clang/lib/Interpreter/IncrementalExecutor.cpp
M clang/lib/Interpreter/IncrementalExecutor.h
M clang/lib/Interpreter/Interpreter.cpp
M clang/test/Interpreter/execute.cpp
M clang/tools/clang-repl/ClangRepl.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
Log Message:
-----------
[clang-repl] Support destructors of global objects.
Supports destructors of global objects by properly calling jitdylib deinitialize which calls the global dtors of ir modules.
This supersedes https://reviews.llvm.org/D127945. There was an issue when calling deinitialize on windows but it got fixed by https://reviews.llvm.org/D128037.
Reviewed By: v.g.vassilev
Differential Revision: https://reviews.llvm.org/D128589
More information about the All-commits
mailing list