I want to use DS-5 Streamline profiler
to profile my code. In the documentation its mentioned that to be able to see call stacks, we need to compile code with compiler option -fno-omit-frame-pointer
. This option is there in gcc.
Is there an equivalent option for clang also?
-fno-omit-frame-pointer
is not working for me with clang.
I have also tried setting the compiler optimization level to 0, but still I am not getting call stacks in streamline.