[Lldb-commits] [lldb] [lldb][Module] Make eLoadScriptFromSymFileWarn behave as a "dry-run" (PR #189943)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 1 04:40:30 PDT 2026
================
@@ -1474,23 +1476,22 @@ bool Module::LoadScriptingResourceInTarget(Target *target, Status &error) {
continue;
if (load_style == eLoadScriptFromSymFileWarn) {
+ static std::once_flag s_warn_once;
----------------
Michael137 wrote:
Actually instead of the `once_flag` we should probably just move this to the loop where we print `warned_modules`. Seems simpler
https://github.com/llvm/llvm-project/pull/189943
More information about the lldb-commits
mailing list