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.


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

Thank you.


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

-- Mon Ping