[LLVMdev] DEBUG
David Greene
dag at cray.com
Mon Jul 7 12:32:27 PDT 2008
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. 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?
In some cases, yes.
-Dave
More information about the llvm-dev
mailing list