Is there an option in cl470.exe compiler to generate stack usage and function call information ? If yes how to use that ? Can some one send some info regarding this ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Is there an option in cl470.exe compiler to generate stack usage and function call information ? If yes how to use that ? Can some one send some info regarding this ?
The code generation tools come with a Stack Depth Profiler. If I get your question right, then this may be able to help you. This tool (sdp470.exe) can be found in your CCS installation directory.
For CCSv4 users the default installation location for the compiler tools is: \Program Files\Texas Instruments\ccsv4\tools\compiler\tms470\bin
TMS470 & TMS570 are closely related product lines and the TMS570 line uses some of the same tool set as the TMS470 line.
More information on the profiler and compiler tools can be found in the C/C++ Compiler user's guide here: http://www.ti.com/lit/pdf/spnu151
Abishek:
thanks for that info. the compiler manual which I have [TMS470R1x Optimizing C/C++ Compiler
4.4 Beta] did not have that information. But the one which you send, had the -b option. That worked. BTW, is there any way I can redirect the o/p of the generated .aux files to a specific directory ...??