If an application is built with Intel compiler, memcheck report does not contain inlined functions. A reproducer (inline_info.c) is attached. Steps to build and run the test: icc -O0 inline_info.c -g -o inline_info_icc valgrind -q --read-inline-info=yes ./inline_info_icc Expected result (reported for gcc-compiled application): ==xxxx== Conditional jump or move depends on uninitialised value(s) ==xxxx== at 0xxxxxxx: inlined (inline_info.c:5) ==xxxx== by 0xxxxxxx: main (inline_info.c:13) ==xxxx== Actual result: ==xxxx== Conditional jump or move depends on uninitialised value(s) ==xxxx== at 0xxxxxxx: main (inline_info.c:5) ==xxxx==
Created attachment 96256 [details] a reproducer application
(In reply to Tatyana from comment #1) > Created attachment 96256 [details] > a reproducer application Can you use objdump --dwarf inline_info_icc and valgrind --trace-symtab=yes --trace-symtab-patt=*inline_info_icc* to double check that effectively icc has inlined calls ? It would be good to compare the dwarf inline information with the one generated by gcc.
Hello Philippe, Thank you for the clarification. Apparently, Intel compiler does not generate full inline information by default (full inline info can be generated using "-debug inline_debug_info" compilation flag).