I am using the Intel Compiler (icc) on Windows. I let the compiler print the line information of the instructions. Normally the line number matches the source file I passed to the compiler. In some cases it adds instructions generated by some header files I included. But which file is it?
mov rax, 0d4b249ad2594c37dH #45.20 which file is ment here?
mulsd xmm0, xmm0 #7.3 matches the expected source file
MSVC on the other hand print out the filename of the header where this instruction comes from. How can I get this information from ICC?
# File d:...base.h
# Line 48
$LN3: movsdx QWORD PTR [rsp+16], xmm1