Fix DAGCombiner to avoid going into an infinite loop when it
[oota-llvm.git] / test / Scripts / macho-dump.bat
index e43c521f539481e0a2db7a35f74624547e9fed28..81484f67d70271695d9bd8490c1506f33c388c70 100644 (file)
@@ -1,3 +1,7 @@
 @echo off
-macho-dump %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+@rem We need to set -u to treat stdin as binary. Python 3 has support for doing
+@rem this in code, but I haven't found a way to do this in 2.6 yet.
+
+%PYTHON_EXECUTABLE% -u %LLVM_SRC_ROOT%\test\Scripts\macho-dump %1 %2 %3 %4 %5 %6 %7 %8 %9