[lldb-dev] DWARF v5 unit headers

Greg Clayton via lldb-dev lldb-dev at lists.llvm.org
Tue Feb 28 09:41:10 PST 2017


I look forward to seeing DWARF5 support integrated into LLDB. No problems that I know of that you will run into. Please include me in on the LLDB related patches for DWARF5. One particular area of interest is the emission of the new accelerator tables and having LLDB support them. I believe the new DWARF5 standard specifies name accelerator tables that replace the ones we make on Apple platforms and have been using for many years. They speed debugging up on linux by a lot so as the current code doesn't trust any DWARF accelerator tables and it indexes the DWARF manually.

> On Feb 27, 2017, at 9:25 PM, Robinson, Paul via lldb-dev <lldb-dev at lists.llvm.org> wrote:
> 
> I'm planning to commit a patch (http://reviews.llvm.org/D30206) which will
> cause Clang/LLVM to emit correct unit headers if you ask for version 5.
> I've run the lldb tests and I *think* I pointed to my modified Clang
> correctly (cmake with -DLLDB_TEST_COMPILER=/my/clang) and AFAICT it does
> not introduce new problems.
> I saw 3 Failure and 12 Error with or without the patch.
> (One Expected Failure seems to have become an Unexpected Success. Haven't
> tried to decipher logs to figure out which one yet.)
> 
> If anybody can predict a problem with my patch, please let me know by
> noon Pacific time (2000 GMT) tomorrow (28th).
> 
> We're going to be doing more work implementing various bits of DWARF v5
> in the coming months.  If anybody thinks they can predict that there are 
> particular bits that would be especially problematic for LLDB, it would 
> be useful to know up front which bits those are.
> 
> Thanks
> --paulr
> 
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev



More information about the lldb-dev mailing list