[swift-lldb-dev] [swift-dev] LLDB Invalid address (32 bit arm)

Dmitri Gribenko gribozavr at gmail.com
Thu Dec 24 17:15:59 CST 2015


+ swift-lldb-dev

On Thu, Dec 24, 2015 at 3:03 PM, William Dillon via swift-dev
<swift-dev at swift.org> wrote:
> Hi all,
>
> 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?
>
> Thanks!
> - Will
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev



-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-lldb-dev mailing list