I've got a highly optimized compiled C++ object file (compiled with g++, specifying -O3 -g -march=amdfam10 -Wall
) with debug info.
I'm using objdump -S "objname"
.
Unfortunately interleaving the source doesn't seem to work, because sometimes I see the same group of lines (not just a single line) repeated, and not just one code line but multiple of them, many times, followed by only one assembly line, then other 3/4 source lines, without making much sense.
I see for example, 3/4 C++ code lines with iterators, and maps initializations followed by only 1/2 ASM lines? Does it make sense?
Any idea what might be happening?