AnyDSL / MimIR

MimIR is my Intermediate Representation
https://anydsl.github.io/MimIR/
MIT License
46 stars 9 forks source link

--break-on-error and --break-on-warn #205

Closed leissa closed 1 year ago

leissa commented 1 year ago

These options help to track down problems by issuing a breakpoint on ELOG/WLOG.

Also changed #cmakedefine01 -> #cmakedefine in config.h.in. Now, check with:

#ifdef THORIN_ENABLE_CHECKS
    // ...
#endif

While this here will give an error

#if THORIN_ENABLE_CHECKS
    // ...
#endif

With the old version, you were supposed to check via #if THORIN_ENABLE_CHECKS while #ifdef THORIN_ENABLE_CHECKS silently evaluated to true.