[llvm-commits] [PATCH] Use of DwarfDebug before declaration/definition

Dmitri Gribenko gribozavr at gmail.com
Sun Dec 16 04:59:02 PST 2012


On Sun, Dec 16, 2012 at 1:39 PM, Kai <kai at redstar.de> wrote:
> In lib/CodeGen/AsmPrinter/DwarfDebug.h, a pointer to DwarfDebug is used in
> line 225. The class itself is defined some lines below and there is no
> declaration. The attached patch adds the missing declaration.
> (I assume here that I can use the header file stand-alone. I do this in my
> CodeView generation code and got an error.)

Hello Kai,

Committed r170284, thank you!

In future, please send patches with UNIX-style line endings.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-commits mailing list