AM6442: tiarmclang - print memory usage after link

Part Number: AM6442

Tool/software:

Hi,

we are currently using the tiarmclang 4.0.1 LTS in conjunction with CMake. Unfortunately, I couldn't find the linker option, which prints out the memory usage table/report to the console after linking. When using GCC linker, that option would be "--print-memory-usage". Which is the corresponding option in tiarmclang linker? 

Thanks!

  • Angel,

    I am not sure if we have that option but will loop in someone who can answer.

    One thing that is available is the ability to output detailed information to an xml file and then in CCS the memory allocation view will parse it and display it:

    Typically it looks at the output of a CCS project but if you are using cmake you can use the folder icon to point to the generated file.

    The linker option to generate the file looks like: xml_link_info="filename_linkInfo.xml"

    Regards,

    John

  • When using GCC linker, that option would be "--print-memory-usage". Which is the corresponding option in tiarmclang linker? 

    There is no option with that exact behavior.  The closest option is --map_file.  When used from an invocation of tiarmclang, typical usage is similar to: -Wl,--map_file=name_of_file.map.

    Thanks and regards,

    -George