================
@@ -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" \
----------------
dmpots wrote:

Thanks for the feedback. I updated the test to create the target as suggested.

Originally I had the test include a '-o "run"' flag as well, but that ran into 
symbol loading issues as you pointed out. The ASAN/TSAN runtime plugins are 
loaded automatically and there is no way to disable them. Those plugins force 
symbol loading by looking for some specific symbols in all executable modules.

Is it a reasonable to expect that we should have a way to turn off new plugins 
that cause the the test to break if they force symbol loading? Or is there a 
better way to test this feature?

https://github.com/llvm/llvm-project/pull/129593
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to