update makefile
[musl-tables] / abi_type_data.sh
1 #!/bin/sh
2
3 CXXFILT=${CXXFILT:-c++filt}
4 #TODO
5 ARCH=${ARCH:-x86_64}
6
7 $CXX -std=c++11 -S -o - abi_type.$ARCH.cc |sed -n 's/^\(_Z.*\):/\1/p' |$CXXFILT |sed '
8 s/^x_\([^(]*\)(\(.*\))/\1: \2/
9 s/floatcomplex /float _Complex/g
10 s/doublecomplex /double _Complex/g
11 '