Hello,

We noticed that the original bugzilla, which intended to add new LLVM toolchain 
support[1], also wanted to bring ELF format support with DWARF debugging 
information. For some reason this did not make its way into EDK II, and we are 
currently wondering, how can one debug binaries built with LLVM 9.0.

For macOS and XCODE5 toolchain we use GDB scripts based on Andrei Warkentin’s 
work, which allow us to integrate with QEMU and VMware[2]. It is likely that 
they should work with little to no work on Linux with CLANG38/GCC5 with GDB 
once again. However, CLANGPDB apparently is using PDB debugging information, 
which I believe is not handled with GDB.

Could you please provide the details on the matter and let us know about the 
recommended route?
— Is dropping CLANGELF just a temporary measure and it should be resubmitted 
again?
— Should LLDB, which seems to be aware of PDB, be used instead of GDB, when 
building with CLANGPDB? If so, did anybody try that?

Thanks!

Best regards,
Vitaly

[1] https://bugzilla.tianocore.org/show_bug.cgi?id=1603
[2] 
https://github.com/acidanthera/OpenCorePkg/blob/master/Debug/Scripts/gdb_uefi.py


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#56054): https://edk2.groups.io/g/devel/message/56054
Mute This Topic: https://groups.io/mt/72100961/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to