[Lldb-commits] [lldb] r367441 - Don't crash when pass by value struct has no definition.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 31 12:21:05 PDT 2019


On Wed, Jul 31, 2019 at 11:29 AM Greg Clayton via lldb-commits
<lldb-commits at lists.llvm.org> wrote:
>
>
>
> > On Jul 31, 2019, at 10:57 AM, Raphael Isemann <teemperor at gmail.com> wrote:
> >
> > It seems that patch is lacking a test (which doesn't seem too hard to provide).
>
> I am not the original author of this patch that was causing the crash, just fixing a crash that was introduced by the patch.
>

Which patch was causing the crash?

> I am all ears for anyone that can provide me with DWARF to help reproduce this scenario where we have a DW_CC_pass_by_value struct with no definition. Not sure how you would have a compiler that is passing a struct to a function as a parameter and yet does not emit debug info for that struct it is clearly using in the debug info.
>

I assume this reproduced somewhere(TM) and you verified that your
patch fixes the bug? You can probably attach the binary/dSYM/* and we
can work from there?

--
Davide


More information about the lldb-commits mailing list