[llvm-commits] [PATCH 3/3] Patch to trigger post dominator bug

Duncan Sands baldrick at free.fr
Wed Jan 6 21:46:23 PST 2010


Anton Korobeynikov wrote:
> Hi, Tobias
> 
>> !!! Not intended to commit as the assert is very expensive.
> There is special "expensive checks" mode. It will be nice to include
> assert there somehow...
> 

You can do it as follows:

#ifdef XDEBUG
     do expensive check here
#endif

Ciao,

Duncan.



More information about the llvm-commits mailing list