swr/rast: Fix one more invalid object format for windows.
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 21:46:56 +0000 (15:46 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 22:48:41 +0000 (16:48 -0600)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp

index 508bc027dd97952acd52aace544134114e685c33..40ca644121368e43eb696c9341ee3b87e52dc865 100644 (file)
@@ -178,7 +178,7 @@ void JitManager::SetupNewModule()
 #if defined(_WIN32)
     // Needed for MCJIT on windows
     Triple hostTriple(sys::getProcessTriple());
-    hostTriple.setObjectFormat(Triple::ELF);
+    hostTriple.setObjectFormat(Triple::COFF);
     newModule->setTargetTriple(hostTriple.getTriple());
 #endif // _WIN32