Reland "[lldb][Target] Flush the scratch TypeSystem when owning lldb_private::Module...
authorMichael Buch <michaelbuch12@gmail.com>
Fri, 25 Nov 2022 14:45:09 +0000 (14:45 +0000)
committerMichael Buch <michaelbuch12@gmail.com>
Mon, 5 Dec 2022 16:57:42 +0000 (16:57 +0000)
commite1edcf7d14c126b9ebd2a77fcd9041d056cce64a
tree41eaacae60990343c0021e207c80c3450217fadb
parent47c68904a53a5aeeb2f7d506ac6be7d1a0fb951e
Reland "[lldb][Target] Flush the scratch TypeSystem when owning lldb_private::Module gets unloaded"

This relands commit `71f3cac7895ad516ec25438f803ed3c9916c215a`

Fixes LLDB Linux bots and improves TypeSystem flushing for shared libraries.

Differential Revision: https://reviews.llvm.org/D138724
lldb/source/Target/Target.cpp
lldb/test/API/functionalities/rerun_and_expr/Makefile [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr/TestRerunAndExpr.py [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr/main.cpp [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr/rebuild.cpp [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr_dylib/Makefile [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr_dylib/lib.cpp [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr_dylib/main.cpp [new file with mode: 0644]
lldb/test/API/functionalities/rerun_and_expr_dylib/rebuild.cpp [new file with mode: 0644]