From 9986dccc3e6e481ea866e6ff9fd3ec26ec87c9ba Mon Sep 17 00:00:00 2001
From: Misha Brukman
To debug the JIT:
bugpoint -run-jit -output=[correct output file] [bytecode file] ---args -- [program arguments]
++bugpoint -run-jit -output=[correct output file] [bytecode file] \ + --tool-args -- [arguments to pass to lli] \ + --args -- [program arguments] +
Similarly, to debug the LLC, one would run:
bugpoint -run-llc -output=[correct output file] [bytecode file] ---args -- [program arguments]
++bugpoint -run-llc -output=[correct output file] [bytecode file] \ + --tool-args -- [arguments to pass to llc] \ + --args -- [program arguments] +
Special note: if you are debugging MultiSource or SPEC tests that