[cfe-commits] r51553 - in /cfe/trunk: include/clang/AST/Type.h lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGDebugInfo.h lib/CodeGen/CGStmt.cpp lib/CodeGen/CodeGenFunction.cpp
Sanjiv.Gupta at microchip.com
Sanjiv.Gupta at microchip.com
Sun May 25 08:13:01 PDT 2008
> The issue I was getting at doesn't exist, at least not with
> the way llc uses debug info. llc doesn't really support the
> debug spec properly in terms of regions, and it actually
> doesn't mind if you leave out the function end marker.
>
> That said, if you have an llc port that actually wants
> regions/functions to start and end consistently, you're
> probably going to have to generate start/endregion markers
> differently from the way you're doing it right now. The
> issue is that even for a simple function like "int a(int a)
> {return a;}", passes like simplifycfg will zap the function
> end marker.
>
> -Eli
>
Yes, we need regions/functions to start and end consistently.
Our debug info which is a COFF symbol table depends upon the correct
order of these.
What suggestions do you have to make these things generated
consistently? That will be a great help.
- Sanjiv
More information about the cfe-commits
mailing list