adding split debug info to the release?
Opened this issue · 1 comments
nolange commented
i would need to debug / backtrace some windows exception. seems to be originating in libc++.
the release binaries dont contain the debug info. I am not aware what functionality the win debuggers offer (and the different formats - dwarf or pdb) - on linux i would expect a separate file with the debuginfo.
as far as i know:
- pdb is supported with lldb and windbg
- dwarf is supported with gdb and lldb
- debug info in static libraries would need to dwarf !?
i am likely to play around with this a bit, any hints which way to go?
Andarwinux commented
You can add -gcodeview
to CFLAGS when building libc++, and then add -Wl,--pdb=
when linking.