LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 40 - bugpoint only allows user to debug default mode of llc
Summary: bugpoint only allows user to debug default mode of llc
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: bugpoint (show other bugs)
Version: 1.0
Hardware: All All
: P enhancement
Assignee: Brian R. Gaeke
URL:
Keywords: new-feature
Depends on:
Blocks:
 
Reported: 2003-10-13 23:11 PDT by Brian R. Gaeke
Modified: 2010-02-22 12:55 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian R. Gaeke 2003-10-13 23:11:28 PDT
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>
Comment 1 Chris Lattner 2003-10-13 23:18:39 PDT
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.
Comment 2 Chris Lattner 2003-12-25 18:31:29 PST
There are other things that would be nice to be able to tweak as well, such as
-regalloc=foo.

-Chris
Comment 3 Chris Lattner 2004-02-26 15:29:50 PST
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
Comment 4 Brian R. Gaeke 2004-05-04 14:52:23 PDT
Patch in progress.

Note: another argument that should be tweakable is -enable-correct-eh-support.