[lldb-dev] Status of DWARF64 in LLDB
Adrian Prantl via lldb-dev
lldb-dev at lists.llvm.org
Mon Mar 11 15:32:55 PDT 2019
> On Mar 11, 2019, at 12:45 PM, Zachary Turner via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> I want to ask what the status of DWARF64 in LLDB is. I can tell there's some support for it by reading the code, but it seems to have zero test coverage so it's not clear to me that anyone depends on it. For example, I know that clang and LLVM will not even generate DWARF64, so if anyone is depending on it, they must be debugging programs built with some other toolchain.
AFAIR, Apple's tools only generate/support DWARF32. After implementing type-uniquing in dsymutil we didn't see any individual .dSYM bundles that came even close to the 4GB watermark.
> I'm looking at unifying LLDB's DWARF parser with LLVM's, and this is the biggest functional difference I can see.
> Certainly we can improve LLVM's support for consuming DWARF64, but it's a question of priorities. If nobody is actively depending on this, then taking a regression here could be on the table and then re-prioritizing adding back support in the future if / when we actually need it.
More information about the lldb-dev