summaryrefslogtreecommitdiffstats
path: root/test/Scripts/elf-dump.bat
diff options
context:
space:
mode:
Diffstat (limited to 'test/Scripts/elf-dump.bat')
-rw-r--r--test/Scripts/elf-dump.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Scripts/elf-dump.bat b/test/Scripts/elf-dump.bat
new file mode 100644
index 0000000..9c70808
--- /dev/null
+++ b/test/Scripts/elf-dump.bat
@@ -0,0 +1,7 @@
+@echo off
+
+@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\elf-dump %1 %2 %3 %4 %5 %6 %7 %8 %9
+