<div dir="ltr"><div>As far as I know the only dwarf v5 functionality currently implemented in LLDB is the split dwarf support so I don't expect it to work with the new dwarf v5 data but as long as clang emits dwarf v4 (or older) by default it shouldn't cause any immediate problem with the test suite (we will still have to teach LLDB to handle dwarf v5).<br></div><div><br></div><div>For the future changes, when you start to emit the new dwarf v5 tag and form values instead of the current GNU extension tag and form values for split dwarf and for the related new data form-s we will have to teach LLDB to understand them (currently we expect only the GNU versions) so a heads up for that change would be appreciated. Other then this I expect no issue regarding the addition of dwarf v5 support for LLDB.</div><div><br></div><div>Tamas</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 28, 2017 at 5:25 AM Robinson, Paul via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm planning to commit a patch (<a href="http://reviews.llvm.org/D30206" rel="noreferrer" class="gmail_msg" target="_blank">http://reviews.llvm.org/D30206</a>) which will<br class="gmail_msg">
cause Clang/LLVM to emit correct unit headers if you ask for version 5.<br class="gmail_msg">
I've run the lldb tests and I *think* I pointed to my modified Clang<br class="gmail_msg">
correctly (cmake with -DLLDB_TEST_COMPILER=/my/clang) and AFAICT it does<br class="gmail_msg">
not introduce new problems.<br class="gmail_msg">
I saw 3 Failure and 12 Error with or without the patch.<br class="gmail_msg">
(One Expected Failure seems to have become an Unexpected Success. Haven't<br class="gmail_msg">
tried to decipher logs to figure out which one yet.)<br class="gmail_msg">
<br class="gmail_msg">
If anybody can predict a problem with my patch, please let me know by<br class="gmail_msg">
noon Pacific time (2000 GMT) tomorrow (28th).<br class="gmail_msg">
<br class="gmail_msg">
We're going to be doing more work implementing various bits of DWARF v5<br class="gmail_msg">
in the coming months.  If anybody thinks they can predict that there are<br class="gmail_msg">
particular bits that would be especially problematic for LLDB, it would<br class="gmail_msg">
be useful to know up front which bits those are.<br class="gmail_msg">
<br class="gmail_msg">
Thanks<br class="gmail_msg">
--paulr<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
lldb-dev mailing list<br class="gmail_msg">
<a href="mailto:lldb-dev@lists.llvm.org" class="gmail_msg" target="_blank">lldb-dev@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br class="gmail_msg">
</blockquote></div>