jankratochvil added a comment. In D96778#2572816 <https://reviews.llvm.org/D96778#2572816>, @dblaikie wrote:
> rolls this into one file with two CUs - bit easier to deal with. Then one could not use the `.file` directives and one would need to code also `.debug_line` by hand. > You could remove a bunch of extraneous DWARF too - since it's hardcoded > DWARF, the subprogram/inlined subroutine/etc could be removed from CU1, > leaving only the abstract subprogram and variable, both to be referenced from > CU2. True, I have removed it now. > Could you provide the source code for this - I wouldn't mind trying it out > and seeing what might be different/why DWZ doesn't understand this. dwz will merge it without -flto but not with -flto: http://people.redhat.com/jkratoch/inlinevar.d.tar.xz Personally I am not interested in DWZ, I am implementing it only as a compatibility with existing file format, IMNSHO DWZ should be dropped. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96778/new/ https://reviews.llvm.org/D96778 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits