On Wed, 2024-09-11 at 16:09 +0200, Alexander Kanavin via lists.yoctoproject.org wrote: > .a files are not ELF files, they're archives made with GNU ar. So > it's not clear why dwarfsrcfiles is even run on that, but I don't > think it should be.
That isn't strictly true. Static libraries are collections of object files generated during compilation and "archived" together into a single file (a bit like tar does). Those object files are still ELF binaries. Those object files have debug information just like a normal object file has and as such, dwarfsrcfiles can extract debug info the same as normal. The issue is clang is using a format that our tool doesn't understand. We'd have to teach it that I guess to make it work, or accept the loss of information from the llvm built files. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63824): https://lists.yoctoproject.org/g/yocto/message/63824 Mute This Topic: https://lists.yoctoproject.org/mt/108393840/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-