Move to lib_basop broke complexity measurements - WMC tool can not get Table ROM size
All the complexity pipelines for BASOP main currently crash in the encoder part. The reson is a segfault + there is this suspicious printout which is not shown in the CI, but I get locally (see last two lines): ``` --- Memory usage --- Program ROM size (/ivas-basop/scripts/c-code_instrument/lib_enc/*.c): 422040 bytes Program ROM size (/ivas-basop/scripts/c-code_instrument/lib_com/*.c): 265264 bytes Program ROM size (/ivas-basop/scripts/c-code_instrument/lib_basop/*.c): 3068 bytes Table ROM (const data) size (/ivas-basop/scripts/c-code_instrument/lib_enc/*.c): 50468 bytes Table ROM (const data) size (/ivas-basop/scripts/c-code_instrument/lib_com/*.c): 509236 bytes Error: Cannot retrieve or calculate Table ROM size of (/ivas-basop/scripts/c-code_instrument/lib_basop/*.c)! Segmentation fault (core dumped) ``` Reproduce with: ``` ./scripts/IvasBuildAndRunChecks.py --wmc_tool_mem_only -p ci_linux_local.json --checks COMPLEXITY --create_complexity_tables comp_table -m stereo_b128_fb_cbr --oc stereo ``` My suspicion is that the problem is that lib_basop simply has no ROM tables at all, but the wmc tool might assume that.
issue