Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opt tool registers multiple command line options #1257

Closed
llvmbot opened this issue Aug 19, 2006 · 2 comments
Closed

opt tool registers multiple command line options #1257

llvmbot opened this issue Aug 19, 2006 · 2 comments
Assignees
Labels
bugzilla Issues migrated from bugzilla regression

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Aug 19, 2006

Bugzilla Link 885
Resolution FIXED
Resolved on Mar 06, 2010 14:00
Version trunk
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

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:

: CommandLine Error: Argument 'printm' defined more than once!
: CommandLine Error: Argument 'profile-loader' defined more than once!
: 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.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Aug 19, 2006

assigned to @lattner

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla regression
Projects
None yet
Development

No branches or pull requests

2 participants