summaryrefslogtreecommitdiff
path: root/misc/dump_syms.sh
blob: 6f6f7c6d9e16e15a320934c12abd098db8513a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash


function dumplib()
{
	LIB=$1
	for arch in armeabi-v7a armeabi; 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