• MPLAB XC8
  • XC8 Map files don't view fuction size
2020/11/24 23:32:32
ashraf.m.alraheem@gmail.com
I need to look into map file to compare different functions sizes.
In the map file this what was shown:
__size_of_CRC16 (abs) 000000
__size_of_DefaultDisplay (abs) 000000
__size_of_DefaultState (abs) 000000
__size_of_DisplayCommErr1 (abs) 000000
__size_of_DisplayCommErr2 (abs) 000000
__size_of_DisplayCommErr3 (abs) 000000
__size_of_DisplayCommErr4 (abs) 000000
__size_of_DisplayEventLog (abs) 000000
__size_of_DisplayLastCrdTkn (abs) 000000

 
I can find the size of each function individually in MODULE INFORMATION section. However, it is not convenient to search for each individual function and make the table by hand!

How to enable __size_of feature??
 
I am using MPLAB Xv5.15 and XC8 v2.30 with PIC18F65K90
2020/11/25 14:34:05
mad_c
Hi,
There is no option to correct this situation, and you will need to use the values provided in the module section. I'll make a note to have these symbols either removed or fixed up by the linker, but I suspect it might be the former that is implemented.
Jeff.
© 2021 APG vNext Commercial Version 4.5

Use My Existing Forum Account