{# -*- 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 migrated_symbol in symbols | sort(attribute='related_symbols.size_delta') -%} {% set old_symbol=migrated_symbol.related_symbols.old %} {% set new_symbol=migrated_symbol.related_symbols.new %} {% set source_location_old = aux.symbol_old_location_of_definition(document, old_symbol) %} {% set source_location_new = aux.symbol_new_location_of_definition(document, new_symbol) %} {% set tagged_file_location_source = aux.replace_highlighting_tags(tag_string_diff(source_location_old, source_location_new)) %} {% set tagged_file_location_target = aux.replace_highlighting_tags(tag_string_diff(source_location_new, source_location_old)) %} {% endfor %}
Symbol
Old Source Location
New Source Location
{% if migrated_symbol.display_info.display_symbol_details == True %} {% endif %} {{ old_symbol.name | e }} {# HTML escape the string to avoid conflicts with < or > #} {% if migrated_symbol.display_info.display_symbol_details == True %} ⓘ {% endif %} {{ tagged_file_location_source }} {{ tagged_file_location_target }}

Please Note: Use the settings source_prefix, old_source_prefix or new_source_prefix to eliminate false positives by removing path prefix from source file paths.

Columns

SymbolThe symbol name (possibly mangled)
Old Source LocationThe old source file location [file:line]
New Source LocationThe new source file location [file:line]
{% endif %}