opt -debug option not supported on llvm-2.8 release

For opt from llvm-2.8 release,

I find "opt -debug" becomes an invalid option, for both Release and Debug build.

Is there a reason for it?
or, am I missing something?
or, what is the replacement?

Thank you

Chuck

Hi Chuck,

I find "opt -debug" becomes an invalid option, for both Release and
Debug build.

Is there a reason for it?
or, am I missing something?
or, what is the replacement?

you need to build with checking enabled (--enable-assertions).

Ciao,

Duncan.