[Lldb-commits] [lldb] r351250 - Simplify Value::GetValueByteSize()

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 16 09:52:37 PST 2019


Note that the PDB code runs on all platforms, not just Windows.  You can
reproduce it by just running the affected test on darwin, as long as you've
built lld.

On Wed, Jan 16, 2019 at 8:50 AM Pavel Labath via lldb-commits <
lldb-commits at lists.llvm.org> wrote:

> On 16/01/2019 17:38, Adrian Prantl wrote:
> >> On Darwin I'm getting an also very misleading
> >>
> >> (lldb) target var ref
> >> (void (&)(bool)) ref = 0x0000000100000920 (&::ref = <out of memory>)
> > Wait, no. I reverted the wrong patch:-(
> > I get <Unable to determine byte size.> vs <out of memory>.
> > I assume that's what's happening on Windows, too. If that's the case I
> should be able to do something.
> >
> > -- adrian
> >
>
> Yes that's the same behavior I observed.
>
> "out of memory" is definitely wrong here, though I'm not sure if "Unable
> to determine byte size" is correct either. I guess the best behavior
> would be to just print "cannot display a function" (if I understand
> correctly that this code is trying to print the "dereferenced" value),
> or just nothing.
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190116/628aebf5/attachment.html>


More information about the lldb-commits mailing list