[lldb-dev] Question on assert

Todd Fiala via lldb-dev lldb-dev at lists.llvm.org
Wed Oct 14 13:13:41 PDT 2015

Hi Tamas,

There is an assert in DWARFDIE.cpp (lines 189 - 191) that we're hitting on
the OS X side somewhat frequently nowadays:

            assert ((id&0xffffffff00000000ull) == 0 ||

                    (cu_id&0xffffffff00000000ll) == 0 ||

                    (id&0xffffffff00000000ull) == (cu_id&0xffffffff00000000

It does not seem to get hit consistently.  We're trying to tease apart what
it is trying to do.  It's a bit strange since it is saying that the assert
should not fire if any one of three clauses is true.  But it's hard to
figure out what exactly is going on there.

Can you elucidate what this is trying to do?  Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151014/b356de5f/attachment.html>

More information about the lldb-dev mailing list