SPRUI04F july 2015 – april 2023
The compiler generates symbolic debugging information by default at all optimization levels. Generating debug information does not affect compiler optimization or generated code. However, higher levels of optimization negatively impact the debugging experience due to the code transformations that are done. For the best debugging experience use --opt_level=off.
The default optimization level is off.
Debug information increases the size of object files, but it does not affect the size of code or data on the target. If object file size is a concern and debugging is not needed, use --symdebug:none to disable the generation of debug information.
If you are having trouble debugging loops in your code, you can use the --disable_software_pipeline option to turn off software pipelining. See Section 4.6.1 for more information.