2025-01-28 11:14 AM - edited 2025-01-28 11:16 AM
Hi,
i am able to find function that i have in my code in the build analyser, but not all of them. Neither with the map, elf or bin file. I even restarted my PC.
I used the search function in the build analyser.
I found some "xxx.o" and "*fill*" "functions" though.
2025-01-28 11:42 AM
Do you feel you've presented enough detail for anyone to replicate?
Is it a static function?
Is the function used anywhere? Or could dead-code removal have removed it?
Perhaps do a disassembly listing, pivot in from where it's called.
2025-01-28 12:50 PM - edited 2025-01-28 12:51 PM
I guess nowhere will ever be a complete information. Sometimes its just not easy to think of what information would be helpful. But yes, i should have posted mor about the function itself. I did not expect anyone to replicate, but only a few little hints i could follow.
The function is "void setDeadTime(int32_t nanos)" which is declared as " void setDeadTime(int32_t);" in the header file.
It is used in the program.
Edit:
I have found the function and its size in the map file. It seems to be a bug in the build analyser?
2025-01-28 02:52 PM
Perhaps construct a minimal project that can demonstrate the issue which you can share.
And then @SofLit or @STTwo-32 can assess and assign
Can you see the symbol via OBJDUMP, OBJCOPY, FROMELF type tools inspecting the .ELF file?
If the symbol is present in the .ELF that might be the quickest way to illustrate the issue with the build analysis.