<div dir="ltr">Hi William,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 24, 2015 at 3:15 PM, Dmitri Gribenko via swift-lldb-dev <span dir="ltr"><<a href="mailto:swift-lldb-dev@swift.org" target="_blank">swift-lldb-dev@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+ swift-lldb-dev<br>
<br>
On Thu, Dec 24, 2015 at 3:03 PM, William Dillon via swift-dev<br>
<<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a>> wrote:<br>
> Hi all,<br>
><br>
> I’m working on addressing issues that are preventing lldb from compiling on 32-bit arm platforms. Many warnings are generated by the definition of LLDB_INVALID_ADDRESS as UINT64_MAX. Ultimately, it stems from the fact that size_t is 32 bits, which changes it to the value to UINT32_MAX (4294967295). Is it appropriate to define LLDB_INVALID_ADDRESS to be UINT32_MAX on 32-bit platforms and UINT64_MAX on 64-bit platforms, or should I change the references to size_t to an explicitly 64-bit type (such as uint64_t) on all platforms?<br></blockquote><div><br></div><div>LLDB supports 32-bit versions debugging 64-bit hosts and vice versa, so we need LLDB_INVALID_ADDRESS to remain the largest address-sized host we can communicate with. So LLDB_INVALID_ADDRESS needs to remain 64-bit everywhere.</div><div><br></div><div>It looks like some progress was made on this already as I see we had a swift-lldb pull request on this.</div><div><br></div><div>Thanks for looking into this!</div><div><br></div><div>-Todd</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br>
> Thanks!<br>
> - Will<br>
> _______________________________________________<br>
> swift-dev mailing list<br>
> <a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
> <a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-dev</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
_______________________________________________<br>
swift-lldb-dev mailing list<br>
<a href="mailto:swift-lldb-dev@swift.org">swift-lldb-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-lldb-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-lldb-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-Todd</div></div>
</div></div>