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.
Fixed: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060821/036910.html http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060821/036911.html -Chris