On Mon, Sep 28, 2020 at 08:29:21PM +0200, Jan Kratochvil wrote: > On Mon, 28 Sep 2020 17:58:58 +0200, Jakub Jelinek wrote: > > On Mon, Sep 28, 2020 at 05:46:08PM +0200, Jan Kratochvil wrote: > > > https://whova.com/embedded/session/llvm_202010/1193947/ > > > > If you do it on the compiler side, you'll get a lot of those pesky partial > > units you so hate on the lldb side. > > There are many ways how clang could implement it. I have no idea how is the > draft implemented but unless you have more information I do not think they > would use DW_TAG_partial_unit. There aren't that many ways actually, if no special linker assistence is required, then the different DIEs need to go into separate units, and compile units wouldn't be really appropriate, as they should match the original source TUs. On the other side, doing this in DWZ should be pretty easy. Jakub _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx