[llvm-commits] [llvm-gcc-4.2] r93387 - /llvm-gcc-4.2/trunk/gcc/omp-low.c

Duncan Sands baldrick at free.fr
Mon Jan 18 13:12:47 PST 2010


> llvm-gcc (and dragon-egg also?) converts gimplified gcc trees into
> llvm IR. Even at -O0. Unfortunately, during gimplification the lexical
> blocks info. is not kept upto date by the gimplifier.
> 
> This results in not so pleasant, and many times confusing, debugging
> experience while debugging unoptimized code generated by llvm-gcc.
> This is because all local variables are made available at function
> level.
> 
> Stuart is trying to keep lexical blocks info intact during
> gimplification, so the llvm converter can convert debug info
> appropriately.

I see, thanks for explaining.  With dragonegg, modifying GCC itself is not
really an option, since this means persuading the GCC developers to apply the
patch to GCC head, so I will have to find Another Way (tm).

Ciao,

Duncan.



More information about the llvm-commits mailing list