Tool/software:
Hello,
I currently have a problem where in CCS some of my breakpoints say that there is no code associated to them, normal code, no preprocessor defines or anything.
Therefore I assume that the problem lies in the fact that we are using optimization level -Og atm (compare https://software-dl.ti.com/codegen/docs/tiarmclang/compiler_tools_user_guide/compiler_manual/using_compiler/compiler_options/optimization_options.html ).
So I switched to -O0 and tried to run our code again and suddenly I get an abort before reaching main.
As I already got a similar error in different situations where we still cannot explain why, I hope to find a clue by comparing the source code optimized by tiarmclang with -Og to the original one.
I read here: https://stackoverflow.com/questions/8558541/get-optimized-source-code-from-gcc in answer 3, that there is a compiler option for gcc (-fdump-tree-all) that might provide the optimized source code.
Now I am looking for something similar for tiarmclang.
Thank you for your help.
Best regards
Philip.