|
From: Ashley P. <as...@qu...> - 2007-02-21 17:46:19
|
On Wed, 2007-02-21 at 13:14 +0000, Ashley Pittman wrote: > As discussed on valgrind-users here is a patch to add the offset into a > seginfo to each frame of a stack trace when using xml. This allows you > to use external tools to resolve symbols if required. Replying to myself here I know but I've been looking at this further, I've managed to trim down the patch and not modify the tool interface which is good, I've attached a better version. When I try it on a actual case where I'm not seeing stack traces for errors in icc generated code I find that addr2line can't resole the symbol name either although it does tell me the exact offset to look at, in this case 0x47d18. I guess this means it's probably a Intel problem rather than a Valgrind one. 00047d10 <movdqa8>: 47d10: 83 e9 20 sub $0x20,%ecx 47d13: 66 0f 6f 5e 10 movdqa 0x10(%esi),%xmm3 47d18: 66 0f 6f 46 20 movdqa 0x20(%esi),%xmm0 47d1d: 83 c6 20 add $0x20,%esi 47d20: 66 0f 73 d9 08 psrldq $0x8,%xmm1 47d25: 66 0f 6f d3 movdqa %xmm3,%xmm2 47d29: 66 0f 73 fb 08 pslldq $0x8,%xmm3 47d2e: 66 0f eb d9 por %xmm1,%xmm3 47d32: 66 0f 73 da 08 psrldq $0x8,%xmm2 47d37: 66 0f 6f c8 movdqa %xmm0,%xmm1 47d3b: 66 0f 73 f8 08 pslldq $0x8,%xmm0 47d40: 66 0f eb c2 por %xmm2,%xmm0 47d44: 66 0f 7f 1a movdqa %xmm3,(%edx) 47d48: 66 0f 7f 42 10 movdqa %xmm0,0x10(%edx) 47d4d: 83 c2 20 add $0x20,%edx 47d50: 83 f9 20 cmp $0x20,%ecx 47d53: 7d bb jge 47d10 <movdqa8> 47d55: e9 2b 02 00 00 jmp 47f85 <movdqa.epi> 47d5a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi Ashley, |