[LLVMbugs] [Bug 885] NEW: opt tool registers multiple command line options
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Aug 18 23:57:19 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=885
Summary: opt tool registers multiple command line options
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Support Libraries
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rspencer at x10sys.com
After the analyze functionality was merged into opt, it now seems to register
multiple command line options. The simple command:
opt < /dev/null
will reproduce this output:
<unknown>: CommandLine Error: Argument 'printm' defined more than once!
<unknown>: CommandLine Error: Argument 'profile-loader' defined more than once!
<unknown>: CommandLine Error: Argument 'print' defined more than once!
opt: Standard Input empty!
Its not clear what's going on. Debugging this problem has lead to the errors
being generated in the bowels of the PassNameParser that is used to collect all
the analysis passes. However, its unclear how this could lead to duplicate pass
registrations.
Perhaps someone with a better handle on this code can figure it out.
------- 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