{# -*- coding: utf-8 -*- -*- mode: python -*- elf_diff Copyright (C) 2021 Noseglasses (shinynoseglasses@gmail.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. This program is distributed in the hope that it will be useful, but WITHOUT but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with along with this program. If not, see . #} {% import 'macros.j2' as aux %} {% if is_single_page_report == True %} {% set link_target_frame='' %} {% else %} {% set link_target_frame='target="details"' %} <{{ aux.overview_header_tag}}>{{ symbol_class | capitalize }} Symbols {% endif %} {% if symbols|length == 0 %} No symbols considered.
{% else %} {% for persisting_symbol in symbols | sort(attribute='related_symbols.size_delta', reverse = True) -%} {% set old_symbol=persisting_symbol.related_symbols.old %} {% set new_symbol=persisting_symbol.related_symbols.new %} {% endfor %}
Symbol
Type
Old Size/bytes
New Size/bytes
Delta/bytes
{% if persisting_symbol.display_info.display_symbol_details == True %} {% endif %} {{ old_symbol.name | e }} {# HTML escape the string to avoid conflicts with < or > #} {% if persisting_symbol.display_info.display_symbol_details == True %} ⓘ {% endif %} {{ old_symbol.type }} {{ old_symbol.size }} {{ new_symbol.size }} {{ persisting_symbol.related_symbols.size_delta }}

Columns

SymbolThe symbol name (possibly mangled)
TypeThe symbol type (see the documentation of binutils tool nm for more information)
Old SizeThe old symbol size either in RAM or program memory
New SizeThe new symbol size either in RAM or program memory
DeltaThe change to symbol size
{% endif %}