<div dir="ltr">Hi Pavel,<div><br></div><div>Thanks for sharing this, I'll look into this.</div><div><br></div><div><br></div><div> -- Sourabh Singh Tomar</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 27, 2019 at 12:18 PM Pavel Labath <<a href="mailto:pavel@labath.sk">pavel@labath.sk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 27/09/2019 07:52, Sourabh Singh Tomar via lldb-dev wrote:<br>
> Hi Folks,<br>
> <br>
> Is their a developer switch or diagnostic switch, that we can set in <br>
> lldb, to show warnings and other useful stuff when lldb process the <br>
> binary, building table and utilizing DWARF.<br>
> <br>
> I stumble upon, a rather trivial test case. where I deleted the *.dwo <br>
> file. and loaded primary binary in lldb. lldb loaded it silently without <br>
> any error or diagnostic reports for not found *.dwo file. Obviously, <br>
> debug data wasn't loaded, as I entered list command, nothing happened.<br>
> <br>
> Why need this, as new dwarf-5 features are in development, if lldb can <br>
> report some diagnostics like section not found or ill-formed section, <br>
> this would be immensely useful .<br>
> <br>
> Thanks!<br>
> -- Sourabh Singh Tomar<br>
> <br>
<br>
Hi Sourabh,<br>
<br>
there the Module::ReportWarning function, which will print a warning (to <br>
stderr generally). We should probably make use of that functionality to <br>
report missing dwo files. Care to put up a patch?<br>
<br>
pl<br>
</blockquote></div>