mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 08:01:43 +01:00
fix(check_callgraph): rework --ignore-refs to be more generic
This commit is contained in:
@@ -9,6 +9,14 @@ set(COMPONENTS main)
|
||||
|
||||
project(test_heap)
|
||||
|
||||
string(JOIN "," ignore_refs
|
||||
heap_caps_*/__func__*
|
||||
tlsf_*/__func__*
|
||||
multi_heap_*/__func__*
|
||||
dram_alloc_to_iram_addr/__func__*
|
||||
list_*/__func__*
|
||||
)
|
||||
|
||||
if(CONFIG_COMPILER_DUMP_RTL_FILES)
|
||||
add_custom_target(check_test_app_sections ALL
|
||||
COMMAND ${PYTHON} $ENV{IDF_PATH}/tools/ci/check_callgraph.py
|
||||
@@ -17,7 +25,7 @@ if(CONFIG_COMPILER_DUMP_RTL_FILES)
|
||||
find-refs
|
||||
--from-sections=.iram0.text
|
||||
--to-sections=.flash.text,.flash.rodata
|
||||
--ignore-symbols=__func__/__assert_func,__func__/heap_caps_alloc_failed
|
||||
--ignore-refs=${ignore_refs}
|
||||
--exit-code
|
||||
DEPENDS ${elf}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user