ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Воскресенье
24 ноября
35140 Топик полностью
Romario (09.07.2005 21:19, просмотров: 1) ответил Andy Mozzhevilov на И еще тогда в догонку. А если не IAR, ADS например, как там с вычислением стека дела обстоят, можно выжать эту инфу у линкера?
судя по доке только так ................ In addition, the linker enables you to: • generate a static callgraph and list the stack usage over it ................. -callgraph This option creates a static callgraph of functions in HTML format. The callgraph gives definition and reference information for all functions in the image. For each function func it lists: • the processor state for which the function is compiled (ARM or Thumb) • the set of functions that call func • the set of functions that are called by func • the number of times the address of func is used in the image. In addition, the callgraph identifies functions that are: • called through interworking veneers • defined outside the image • allowed to remain undefined (weak references). The static callgraph also provides stack usage information. It lists: • the size of the stack frame used by each function • the maximum size of the stack used by the function over any call sequence, that is, over any acyclic chain of function calls in the callgraph. ........... хотя Alexandr1 прав в своих суждениях - только для статических функций