labath added a comment. > I have regression tested it only on Fedora 29 x86_64. I see now it may > regress OSX but I have no idea what really dsym is.
dsym is a apple-specific format for external storage of debug info. I think the closest standard equivalent would be a DWP bundle, but there some differences too (and dsym is much older). > I do not have OSX available, is it accessible somewhere remotely for LLVM > development (such as is GCC Compile Farm)? Unfortunately, I don't think llvm has anything like that, though I think it would be extremely useful (/me looks at apple folks). If you try hard enough, you should be able to get clang to produce a dsym bundle for you even on linux. This did the trick for me: $ cat /tmp/a.c void start() asm("start"); void dyld_stub_binder() asm("dyld_stub_binder"); void start() {} void dyld_stub_binder() {} $ bin/clang --target=x86_64-apple-darwin --debug /tmp/a.c -o /tmp/a.out -fuse-ld=lld -nostdlib ld64.lld: warning: -sdk_version is required when emitting min version load command. Setting sdk version to match provided min version $ ls -l /tmp/a.out.dSYM/Contents/Resources/DWARF total 12 -rw-rw---- 1 pavel pavel 8852 Dec 19 10:24 a.out Repository: rLLDB LLDB CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55859/new/ https://reviews.llvm.org/D55859 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits