How to enable the -debug flag?

I’m getting this error when I try to run llc with the ‘-debug’ flag:

llc: Unknown command line argument ‘-debug’. Try: ‘llc -help’

Any idea what is causing this? I’m using LLVM 3


The debug flag only exists when built with assertions enabled. It doesn’t exist on a “release” build.