[llvm-commits] [llvm-gcc-4.2] r49253 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Sun Apr 6 11:58:48 PDT 2008


Hi Chris,

>         -funwind-tables
>             Similar to -fexceptions, except that it will just generate  
> any needed static data, but will
>             not affect the generated code in any other way.  You will  
> normally not enable this option;
>             instead, a language processor that needs this handling  
> would enable it on your behalf.
> 
> >
> > Out of curiosity, what kind of "something else" might this be?
> 
> Some people want "unwind info no matter what".  For example, some  
> performance tools want to be able to walk the stack etc with unwind  
> info.  I don't think our current nounwind bit is sufficient to model  
> this though, and I don't thank that overloading it to do so is a good  
> thing.

it sounds like -funwind-tables has no semantic effect so how about
making it an llc parameter?

Another possibility is to output some debug intrinsic into functions.

Ciao,

Duncan.



More information about the llvm-commits mailing list