Add android-libunwind submodule and fix path in mini-exceptions-native-unwinder.c
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 6 Apr 2016 15:38:56 +0000 (17:38 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 6 Apr 2016 15:43:04 +0000 (17:43 +0200)
This was hosted in mono-extensions before. It is licensed under the MIT license:
https://android.googlesource.com/platform/external/libunwind/+/android-6.0.1_r24/LICENSE

.gitmodules
external/android-libunwind [new submodule]
mono/mini/mini-exceptions-native-unwinder.c

index 731e6c68282f725b33889586a453f6123a59a497..138c40ce788f239a8c9bfa2654b1a2b113134f65 100644 (file)
@@ -33,3 +33,6 @@
 [submodule "external/nunit-lite"]
        path = external/nunit-lite
        url = git://github.com/mono/NUnitLite.git
+[submodule "external/android-libunwind"]
+       path = external/android-libunwind
+       url = https://android.googlesource.com/platform/external/libunwind
diff --git a/external/android-libunwind b/external/android-libunwind
new file mode 160000 (submodule)
index 0000000..338c975
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 338c9755cfe3d009c3dfff7d108e2c3ddaa6f3bb
index a00c8ed07510e45eed4e9e1ca11947f8b6d02407..08fa26bb1abfbfb0a7e98e5d353dec1a9cf623ce 100644 (file)
@@ -30,7 +30,7 @@
 
 #define UNW_LOCAL_ONLY
 #undef _U /* ctype.h apparently defines this and it screws up the libunwind headers. */
-#include "android-libunwind/libunwind.h"
+#include "../../external/android-libunwind/include/libunwind.h"
 #define _U 0x01
 
 #define FUNC_NAME_LENGTH 512