================
@@ -25,6 +32,37 @@ cl::opt<bool> Verbose("offload-arch-test-verbose",
cl::Hidden, cl::init(false));
#ifdef _WIN32
+// --- primeLibraryLoad ---
+
+namespace {
+std::wstring CapturedPath;
+HANDLE CapturedFile;
+DWORD CapturedFlags;
+
+HMODULE WINAPI mockLoadLibraryExW(LPCWSTR Path, HANDLE File, DWORD Flags) {
----------------
lamb-j wrote:
I'd be ok with reduced complexity here, in lieu of additional testing
downstream.
https://github.com/llvm/llvm-project/pull/209898
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits