[llvm] [Windows] Restrict searchpath of dbghelp.dll to System32 (PR #90520)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 10:39:05 PDT 2024
================
@@ -43,6 +43,10 @@ InitLLVM::InitLLVM(int &Argc, const char **&Argv,
assert(!Initialized && "InitLLVM was already initialized!");
Initialized = true;
#endif
+#ifdef _WIN32
+ // Avoid searching the directory from which the application is loaded.
----------------
jofrn wrote:
Oh, and thanks a lot for the information. All of these comments were very helpful.
https://github.com/llvm/llvm-project/pull/90520
More information about the llvm-commits
mailing list