I would like to be able to debug "llc -disable-fp-elim <bytecode>" with bugpoint, but bugpoint does not let me pass in the "-disable-fp-elim" option. Perhaps bugpoint (specifically the AbstractInterpreters/ToolRunners) needs, a general mechanism for passing in additional tool-specific arguments, as opposed to arguments to the program. I thought of the following UI: bugpoint -run-llc -tool-args="-disable-fp-elim" <bytecode>
The right way to implement this is with a "named positional" argument. This would allow you to say something like: bugpoint --tool-args -disable-fp-elim .... See how the --args option is implemented in bugpoint for example. This is a feature request. Marking it as such.
There are other things that would be nice to be able to tweak as well, such as -regalloc=foo. -Chris
Changing all of these bugs who do not have people looking at them to be assigned to "unassignedbugs", indicating that if someone is feeling ambitious, they can take ownership of the bug. If I stole your bug, and you still want it, feel free to take ownership back. -Chris
Patch in progress. Note: another argument that should be tweakable is -enable-correct-eh-support.
This one is finally fixed!! I tested this by running: bugpoint --run-llc <something broken> --tool-args -- --enable-correct-eh-support Patches: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040503/014119.html http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040503/014120.html http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040503/014122.html http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040503/014123.html