Hello I am writing a small valgrind-like program on Windows, to detect memleak and some errors that valgrind's memcheck identifies.
Currently, for the backtrace, I use the Windows API if compiled with vc++, and libbfd if compiled with gcc (mingw-w64). libbfd works well (i get file, function ad line number that I want), but the licence is a problem (GPL v3). libdwarf seems big, libunwind seems smaller, and according to the documentation, libunwind can manage DWARF format If I'm not mistaken, the GNU linker provides debugging informations in the DWARF format on Windows. I have 2 questions: 1) Do you think that libunwind could indeed provide backtrace from programs/libraries linked with the GNU linker on Windows ? 2) if yes, as i am quite interested to have libunwind on Windows, compiling it with MSYS/mingw-w64 (not vc++), where should I start, and which files should I look first ? Note that I would like to provide patches upstream, not to fork libunwind. thank you Vincent Torri _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
