search for: llvm_debug_type

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

2018 Mar 23
0
[RFC] Change DEBUG() macro to LLVM_DEBUG()
+1, claiming the "DEBUG" macro is pretty hostile. Debug.h is included pretty widely from llvm/include/llvm/*, so we can't claim this is some internal macro that users won't see. On Fri, Mar 23, 2018 at 9:18 AM Nicola Zaghen via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi all, > > We recently stumbled upon some issues with the DEBUG() macro being >
2018 Mar 23
3
[RFC] Change DEBUG() macro to LLVM_DEBUG()
Hi all, We recently stumbled upon some issues with the DEBUG() macro being redefined in some internal libraries and some external ones, such as LLVM. After trying out a few ideas to avoid the problem we thought that the simplest solution would be to prefix all generic macro names in order to avoid clashes. A quick search showed that Mesa had a similar issue with DEBUG being used by LLVM and