[LLVMdev] Proposal for better assertions in LLVM
viridia at gmail.com
Tue Jul 26 11:12:23 PDT 2011
On Tue, Jul 26, 2011 at 10:56 AM, FlyLanguage <flylanguage at gmail.com> wrote:
> #define ASSERT_STRM(cond, args) \
>> if (!(cond)) AssertionFailureStream(__FILE_**_, __LINE__) << args
>> Note that there's no trailing semicolon, as this is supplied at the
>> point where the macro is invoked.
>> What do you think?
> Neat, but inducing a debug trap is even more useful on asserts
What's the best way to do that? I'd like to incorporate it into my
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev