Mesa (master): gallivm: Temporarily disable custom LLVMDumpValue on MSVC.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon May 10 13:45:36 UTC 2010
Module: Mesa
Branch: master
Commit: 2e524fd8bcf9448b3f0d082a96407f93c6d0204c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e524fd8bcf9448b3f0d082a96407f93c6d0204c
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon May 10 14:43:47 2010 +0100
gallivm: Temporarily disable custom LLVMDumpValue on MSVC.
Seeing very weird crashes during std::cout initialization.
The fault probably lies in the way I build LLVM on MSVC, but disable for
now to allow more time to investigate.
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index ee56778..fc57897 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -34,13 +34,14 @@
#define __STDC_CONSTANT_MACROS
#endif
-#include "llvm/Support/raw_ostream.h"
#include "llvm-c/Core.h"
#include "util/u_debug.h"
-#if defined(PIPE_OS_WINDOWS) || defined(PIPE_OS_EMBDDED)
+#if (defined(PIPE_OS_WINDOWS) && !defined(PIPE_CC_MSVC)) || defined(PIPE_OS_EMBDDED)
+
+#include "llvm/Support/raw_ostream.h"
class raw_debug_ostream :
public llvm::raw_ostream
More information about the mesa-commit
mailing list