On 08/12/14 19:09, "João M. S. Silva" wrote: > Can I provide valgrind with source files so that source code lines of > libraries compiled without -g are still shown? > > For example, I get this memory leak warning:
[ snipped ] > but I can't tell exactly where it comes from. > > If I was able to tell valgrind that the source code for tesseract is > somewhere, it would avoid having to recompile all my code against > tesseract sources? How would that work? Valgrind would still need the debug information in order to know which addresses in your compiled code map to each line in the source files... Tom -- Tom Hughes (t...@compton.nu) http://compton.nu/ ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users