add abi_func
[musl-tables] / abi_func_data.sh
1 #!/bin/sh
2
3 CXXFILT=${CXXFILT:-c++filt}
4
5 $CXX -S -o - abi_func.cc |sed -n 's/^\(_Z.*\):/\1/p' |$CXXFILT |sed '
6 s/(\*)/@/;s/^t_\([^(]*\)(\(.*\)@\(.*\))/\2\1\3/
7 s/floatcomplex /float _Complex/g
8 s/doublecomplex /double _Complex/g
9 '