Ah, cool, thanks Ed! I can confirm those commands (invoked in reverse order) work for me on Ubuntu 12.10. So it should be possible to do some Makefile-magic with objcopy to test the split-debug implementation in an automatic fashion.
I had a chance to try Mike's patch (D960) and can confirm that it works as advertised on binaries that are split with the objcopy approach. Cheers, Dan On 2013-06-24 10:46 AM, "Ed Maste" <[email protected]> wrote: >On 21 June 2013 16:04, Malea, Daniel <[email protected]> wrote: >> Hi, >> >> I'm reading the patch but only got through a small portion of it thus >>far. The interface changes look all right, to me at least. I'm not too >>familiar with generating split-file debug info, but I imagine it's >>possible to do so with some flags to GCC (if not Clang)? > >I added standalone debug support to FreeBSD's base system build last >year. Assuming you have an executable 'exe.full' containing debug >data, it's basically just: > >objcopy --strip-debug --add-gnu-debuglink=exe.debug exe.full exe >objcopy --only-keep-debug exe.full exe.debug > >(I'm not sure if any linkers support creating standalone debug >directly, but ld from FreeBSD's rather-old binutils doesn't.) _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
