summaryrefslogtreecommitdiffstats
path: root/src/Unwind-sjlj.c
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-09-26 08:07:17 +0000
committerMartin Storsjo <martin@martin.st>2017-09-26 08:07:17 +0000
commit065563a2fe470ad72bc5c7e0495fe1750a792b50 (patch)
tree09fef688dc206259547c44ae7ed1eda03145a77c /src/Unwind-sjlj.c
parent43b67bf067d95e7515a9c3d516a0b5a1c1cdaf24 (diff)
downloadplatform_external_libunwind_llvm-065563a2fe470ad72bc5c7e0495fe1750a792b50.tar.gz
platform_external_libunwind_llvm-065563a2fe470ad72bc5c7e0495fe1750a792b50.tar.bz2
platform_external_libunwind_llvm-065563a2fe470ad72bc5c7e0495fe1750a792b50.zip
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 git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@314196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/Unwind-sjlj.c')
-rw-r--r--src/Unwind-sjlj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Unwind-sjlj.c b/src/Unwind-sjlj.c
index f01e652..c5605d4 100644
--- a/src/Unwind-sjlj.c
+++ b/src/Unwind-sjlj.c
@@ -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