search for: your_debug_macro

Displaying 2 results from an estimated 2 matches for "your_debug_macro".

2011 Aug 09
0
[LLVMdev] Proposal for better assertions in LLVM
On Aug 8, 2011, at 10:46 PM, Talin wrote: > So I went ahead and implemented this in my own frontend - I've been using it for both assertions and conditional debug statements. I like it quite a bit, and like you say, it compiles down to nothing in non-debug builds. Does: YOUR_DEBUG_MACRO(…) << some_out_of_line_function(); Still evaluate the out of line function? If so, it seems that something like the LLVM "DEBUG" macro is a better approach. -Chris
2011 Aug 09
2
[LLVMdev] Proposal for better assertions in LLVM
So I went ahead and implemented this in my own frontend - I've been using it for both assertions and conditional debug statements. I like it quite a bit, and like you say, it compiles down to nothing in non-debug builds. On Wed, Jul 27, 2011 at 4:00 PM, Chandler Carruth <chandlerc at google.com>wrote: > On Wed, Jul 27, 2011 at 3:31 PM, Talin <viridia at gmail.com> wrote: >