valgrind xml行号

时间:2014-03-25 21:29:38

标签: c valgrind

是否可以在valgrind XML outptut中获取堆栈跟踪中的行号。我得到这样的东西,但没有得到行号。我在找错了地方吗?

<stack>
    <frame>
      <ip>0x4C2B60C</ip>
      <obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>free</fn>
    </frame>
    <frame>
      <ip>0x40159D</ip>
      <obj>/home/jay/Desktop/Mutate/Mutate/CMeanQueue-master/tests</obj>
      <fn>meanqueue_free</fn>
    </frame>
    <frame>
      <ip>0x40177A</ip>
      <obj>/home/jay/Desktop/Mutate/Mutate/CMeanQueue-master/tests</obj>
      <fn>Testmeanqueue_init_is_zero</fn>
    </frame>
    <frame>
      <ip>0x402256</ip>
      <obj>/home/jay/Desktop/Mutate/Mutate/CMeanQueue-master/tests</obj>
      <fn>CuTestRun</fn>
    </frame>
    <frame>
      <ip>0x402CCE</ip>
      <obj>/home/jay/Desktop/Mutate/Mutate/CMeanQueue-master/tests</obj>
      <fn>CuSuiteRun</fn>
    </frame>
    <frame>
      <ip>0x40144C</ip>
      <obj>/home/jay/Desktop/Mutate/Mutate/CMeanQueue-master/tests</obj>
      <fn>RunAllTests</fn>
    </frame>
    <frame>
      <ip>0x4014E7</ip>
      <obj>/home/jay/Desktop/Mutate/Mutate/CMeanQueue-master/tests</obj>
      <fn>main</fn>
    </frame>
</stack>

0 个答案:

没有答案