[LLVMbugs] [Bug 1231] NEW: bugpoint help doesn't

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Feb 27 11:36:10 PST 2007


           Summary: bugpoint help doesn't
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dalej at apple.com

The --help option for bugpoint produces
USAGE: bugpoint [options] --args <program arguments>... --tool-args <tool arguments>... <input 
llvm ll/bc files>
followed by a lengthy list of options, most of which, I think, don't apply to bugpoint.  This is completely 
wrong, and produces mysterious errors when you attempt to do things this way, for example:

bugpoint -run-llc --tool-args="-o lencod.llc.s -stats -march=thumb -debug-only=arm-cp-islands -
mcpu=arm1136jf-s -relocation-model=pic -f" lencod.llvm.bc 
bugpoint: Not enough positional command line arguments specified!

Not real helpful, the reverse in fact.  I looked briefly at fixing this but it appears command line 
processing is centralized for the various tools in a way that makes it nontrivial.

Also, the -o and -f options cannot be passed to llc, as bugpoint inserts these itself and llc will not 
tolerate duplication.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list