mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Skip .debug sections when generating memory use report
This commit is contained in:
@ -96,7 +96,7 @@ def _is_valid_symbol(symbol_name, symbol_type, symbol_address):
|
||||
def _collect_sections_info(elffile):
|
||||
sections = {}
|
||||
for section in elffile.iter_sections():
|
||||
if section.is_null():
|
||||
if section.is_null() or section.name.startswith(".debug"):
|
||||
continue
|
||||
|
||||
section_type = section["sh_type"]
|
||||
|
Reference in New Issue
Block a user