debug_map_diff.py: Indicate when missing symbols are unused/stripped

This commit is contained in:
LagoLunatic
2026-09-30 12:37:49 -04:00
parent 0bfdf5b34c
commit 87b7c37bc2
+4 -1
View File
@@ -402,7 +402,10 @@ def print_diff_debug_map(target_object_name: str, call_ninja: bool, print_size_d
continue
if symbol_name not in base_symbols:
missing_target_symbols.add(symbol_name)
print("MISSING: " + symbol_name, "0x%X" % target_symbol.size)
suffix = ""
if target_symbol.stripped:
suffix = "(UNUSED)"
print("MISSING: " + symbol_name, "0x%X" % target_symbol.size, suffix)
print("==================================================")
print(f"=== Summary for object: {target_object_name}")