[LLVMdev] DEBUG

Chris Lattner sabre at nondot.org
Mon Jul 7 12:18:11 PDT 2008


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.  Those files need to include headers from both LLVM and
> our compiler components.  That is where the DEBUG conflict happens.

Do you need to use both of the debug mechanisms in the same CPP files?

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list