search for: daviddebug

Displaying 3 results from an estimated 3 matches for "daviddebug".

2008 Jul 07
0
[LLVMdev] DEBUG
...ling it with a prefix is the right way to go. This would significantly increase verbosity in the code and would be generally detrimental. As a solution for your problem, would something like this work? #include "llvm/Debug.h" #define LLVM_DEBUG(X) DEBUG(X) #undef DEBUG #include "DavidDebug.h" ... Or visaversa? -Chris -- http://nondot.org/sabre/ http://llvm.org/
2008 Jul 07
2
[LLVMdev] DEBUG
On Monday 07 July 2008 14:18, Chris Lattner wrote: > On Mon, 7 Jul 2008, David Greene wrote: > >> Debug.h should only be #included by .cpp files, not .h files. Are you > >> seeing a case where you need to use both debug macros in a .cpp file? > > > > That's not the issue. We have some interface (.cpp) files that convert > > from our IR to LLVM IR.
2008 Jul 07
2
[LLVMdev] DEBUG
...> detrimental. Verbose, yes, but "generally detrimental?" That's a pretty strong statement. > As a solution for your problem, would something like this work? > > #include "llvm/Debug.h" > #define LLVM_DEBUG(X) DEBUG(X) > #undef DEBUG > #include "DavidDebug.h" > ... Perhaps. I'll have to think on that. -Dave