To see call stacks in DS-5 Streamline we need to compile code with option -fno-omit-frame-pointer. This option is there for gcc. Is there an equivalent option for clang also?
Our build system uses clang to compile code. I tried setting the optimization level to 0. (-O0 ). But still I am not able to see the call stacks in Streamline.
Hi,
Firstly I am not familiar with clang. I suppose clang should have similar options.
If you are using ARM Clang, the compiler should support -fno-omit-frame-pointer.
Pleases note, user space gator does not support call stack unwinding. Are you able to see call stack using gcc? If not, I suggest you switch to kernel space gator (gator.ko). Thanks.