[Lldb-commits] [lldb] [lldb] Avoid force loading symbol files in statistics collection (PR #129593)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 7 15:41:25 PST 2025
================
@@ -0,0 +1,31 @@
+# RUN: %clang_host -g %S/Inputs/main.c -o %t-main.exe
+
+# When we enable symbol preload and dump stats there should be a non-zero
+# time for parsing symbol tables for the main module.
+# RUN: %lldb %t-main.exe \
+# RUN: -O "settings set plugin.jit-loader.gdb.enable off" \
----------------
clayborg wrote:
It is fine to not run the program and just test that symbols are not loaded when pre-load is off. That will stop all of the normal system runtime plug-ins from being loaded as they only get loaded when the process is launched.
https://github.com/llvm/llvm-project/pull/129593
More information about the lldb-commits
mailing list