Command Line Argument 'inline-threshold'

When I run a pass with opt, for example -view-cfg, I get the following error message:

opt: CommandLine Error: Argument ‘inline-threshold’ defined more than once!

It seems that it is complaining “inline-threshold” is defined in more than one pass.
I checked the source files, and there are two places where it is defined.

Transforms/Utils/BasicInliner.cpp
Transforms/IPO/Inliner.cpp

Has anyone encountered this error and is this caused by something I did wrong when I built LLVM?

Thank you.

Hi,

No, you didn't do anything wrong. This has been changed in TOT.

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090223/074122.html

-- Mon Ping