mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +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):
|
def _collect_sections_info(elffile):
|
||||||
sections = {}
|
sections = {}
|
||||||
for section in elffile.iter_sections():
|
for section in elffile.iter_sections():
|
||||||
if section.is_null():
|
if section.is_null() or section.name.startswith(".debug"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
section_type = section["sh_type"]
|
section_type = section["sh_type"]
|
||||||
|
Reference in New Issue
Block a user