[all-commits] [llvm/llvm-project] e31160: [lldb][Test] TestRerunAndExprDylib.py on Linux: dl...

Michael137 via All-commits all-commits at lists.llvm.org
Mon Dec 5 10:15:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e31160155e484414db9177806ae9f0840c985b49
      https://github.com/llvm/llvm-project/commit/e31160155e484414db9177806ae9f0840c985b49
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
    M lldb/test/API/functionalities/rerun_and_expr_dylib/main.cpp

  Log Message:
  -----------
  [lldb][Test] TestRerunAndExprDylib.py on Linux: dlclose solib to force destruction module

Previously we didn't properly trigger the destructor of
the `lldb_private::Module` backing `libfoo.so`. So the newly
rebuilt version wouldn't actually be loaded on a program re-run.
The test expects the fresh module to be loaded.




More information about the All-commits mailing list