Index: pydir/run-llvm2ice.py |
diff --git a/pydir/run-llvm2ice.py b/pydir/run-llvm2ice.py |
index 72925ccc3380eba744c3fa53babb56b7ca9d545d..3be4e0512ae979b53dd8eaf1ca76b8d9562787d8 100755 |
--- a/pydir/run-llvm2ice.py |
+++ b/pydir/run-llvm2ice.py |
@@ -70,7 +70,10 @@ def main(): |
cmd += ['|'] |
cmd += [args.llvm2ice] |
if args.insts: |
- cmd += ['-verbose', 'inst', '-notranslate'] |
+ # If the tests are based on '-verbose inst' output, force |
+ # single-threaded translation because dump output does not get |
+ # reassembled into order. |
+ cmd += ['-verbose', 'inst', '-notranslate', '-threads=0'] |
if not args.llvm_source: |
cmd += ['--bitcode-format=pnacl'] |
if not args.no_local_syms: |