[LLVMdev] Transition C->bitcode->assembly->object looses frame pointers

Duncan Sands baldrick at free.fr
Tue Apr 5 06:20:04 PDT 2011


Hi Alexander,

> We've indeed passed the appropriate (and even excessive) flags to the
> appropriate pipeline parts, that is:
>
>   llvm-gcc -O1 -fno-omit-frame-pointers -g $in -emit-llvm -S -o $name.ll
>   llc --disable-fp-elim $name.ll -o $name.S
>   g++ -fno-omit-frame-pointers -c $name.S
>
> , but that didn't work

it should work, so at this point I suggest you provide a concrete example
in which frame pointers are nonetheless eliminated.

Ciao, Duncan.



More information about the llvm-dev mailing list