This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 Streamline call stacks with clang compiler

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.