Author: mstorsjo Date: Tue Sep 26 01:07:17 2017 New Revision: 314196 URL: http://llvm.org/viewvc/llvm-project?rev=314196&view=rev Log: Correct data types in the _Unwind_FunctionContext struct
This makes it match the definition used within llvm and in libgcc, we previously got the wrong layout in 64 bit environments. Differential Revision: https://reviews.llvm.org/D38247 Modified: libunwind/trunk/src/Unwind-sjlj.c Modified: libunwind/trunk/src/Unwind-sjlj.c URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/Unwind-sjlj.c?rev=314196&r1=314195&r2=314196&view=diff ============================================================================== --- libunwind/trunk/src/Unwind-sjlj.c (original) +++ libunwind/trunk/src/Unwind-sjlj.c Tue Sep 26 01:07:17 2017 @@ -39,10 +39,10 @@ struct _Unwind_FunctionContext { 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