summaryrefslogtreecommitdiff
path: root/main/misc/dump_syms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'main/misc/dump_syms.sh')
-rwxr-xr-xmain/misc/dump_syms.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/misc/dump_syms.sh b/main/misc/dump_syms.sh
new file mode 100755
index 00000000..375c4437
--- /dev/null
+++ b/main/misc/dump_syms.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+
+function dumplib()
+{
+ LIB=$1
+ for arch in armeabi-v7a armeabi arm64-v8a x86 x86_64; do
+ VER=$(dump_syms obj/local/$arch/$LIB |grep MODULE | cut -d " " -f 4)
+ mkdir -p symbols/$LIB/$VER
+ dump_syms obj/local/armeabi-v7a/$LIB > symbols/$LIB/$VER/$LIB.sym
+ done
+}
+
+dumplib libopenvpn.so
+
+
+