cancel
Showing results for 
Search instead for 
Did you mean: 

Function name can not be found in build analyser

Tobe
Senior III

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.

3 REPLIES 3

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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?

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..