summaryrefslogtreecommitdiff
path: root/src/third_party/unwind/dist/src/sh/Linit_local.c
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2019-07-15 12:47:19 -0400
committerBilly Donahue <billy.donahue@mongodb.com>2019-07-15 14:09:45 -0400
commit3abf0cce9db635dd9e2ee53369e3d392e7441fcb (patch)
tree5143f87f27160628b820fd4fa87dc5bbe51957fa /src/third_party/unwind/dist/src/sh/Linit_local.c
parentc68b233864234fa0a4f9fcc71b775f896d225957 (diff)
downloadmongo-3abf0cce9db635dd9e2ee53369e3d392e7441fcb.tar.gz
SERVER-33259 add libunwind to third_party
- revert commit f8c69b361381a396f81c443438436e99c5af4970. - clang-format - work around ninja module $ASPP assertion
Diffstat (limited to 'src/third_party/unwind/dist/src/sh/Linit_local.c')
-rw-r--r--src/third_party/unwind/dist/src/sh/Linit_local.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/third_party/unwind/dist/src/sh/Linit_local.c b/src/third_party/unwind/dist/src/sh/Linit_local.c
new file mode 100644
index 00000000000..68a1687e854
--- /dev/null
+++ b/src/third_party/unwind/dist/src/sh/Linit_local.c
@@ -0,0 +1,5 @@
+#define UNW_LOCAL_ONLY
+#include <libunwind.h>
+#if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY)
+#include "Ginit_local.c"
+#endif