mstorsjo created this revision. This makes it match the definition used within llvm and in libgcc, we previously got the wrong layout on 64 bit.
https://reviews.llvm.org/D38247 Files: src/Unwind-sjlj.c Index: src/Unwind-sjlj.c =================================================================== --- src/Unwind-sjlj.c +++ src/Unwind-sjlj.c @@ -39,10 +39,10 @@ struct _Unwind_FunctionContext *prev; // set by calling function before registering to be the landing pad - uintptr_t resumeLocation; + uint32_t resumeLocation; // set by personality handler to be parameters passed to landing pad function - uintptr_t resumeParameters[4]; + uint32_t resumeParameters[4]; // set by calling function before registering __personality_routine personality; // arm offset=24
Index: src/Unwind-sjlj.c =================================================================== --- src/Unwind-sjlj.c +++ src/Unwind-sjlj.c @@ -39,10 +39,10 @@ struct _Unwind_FunctionContext *prev; // set by calling function before registering to be the landing pad - uintptr_t resumeLocation; + uint32_t resumeLocation; // set by personality handler to be parameters passed to landing pad function - uintptr_t resumeParameters[4]; + uint32_t resumeParameters[4]; // set by calling function before registering __personality_routine personality; // arm offset=24
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits