projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe9fa89
)
SjLj: Fix building after SVN r314632
author
Martin Storsjo
<martin@martin.st>
Sun, 1 Oct 2017 20:22:40 +0000
(20:22 +0000)
committer
Martin Storsjo
<martin@martin.st>
Sun, 1 Oct 2017 20:22:40 +0000
(20:22 +0000)
The code moved from Unwind_AppleExtras.cpp to Unwind-sjlj.c needed
a few minor modifications to build as C instead of C++.
llvm-svn: 314635
libunwind/src/Unwind-sjlj.c
patch
|
blob
|
history
diff --git
a/libunwind/src/Unwind-sjlj.c
b/libunwind/src/Unwind-sjlj.c
index
4206c46
..
90cac3f
100644
(file)
--- a/
libunwind/src/Unwind-sjlj.c
+++ b/
libunwind/src/Unwind-sjlj.c
@@
-67,7
+67,7
@@
struct _Unwind_FunctionContext {
#if defined(__APPLE__)
#include <System/pthread_machdep.h>
#else
-static _LIBUNWIND_THREAD_LOCAL
_Unwind_FunctionContext *stack = nullptr
;
+static _LIBUNWIND_THREAD_LOCAL
struct _Unwind_FunctionContext *stack = NULL
;
#endif
static struct _Unwind_FunctionContext *__Unwind_SjLj_GetTopOfFunctionStack() {