X-Git-Url: http://nsz.repo.hu/git/?p=musl-tables;a=blobdiff_plain;f=abi_type_data.sh;fp=abi_type_data.sh;h=5d6420d19b62e5af730a3993eca6ad17181eb9e7;hp=0000000000000000000000000000000000000000;hb=ba78abf4a6e2d5b0abfa67994481512e58597b9e;hpb=38b16c9aa5bfb97aa4f19f8c1ad8af760d2088c7 diff --git a/abi_type_data.sh b/abi_type_data.sh new file mode 100755 index 0000000..5d6420d --- /dev/null +++ b/abi_type_data.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +CXXFILT=${CXXFILT:-c++filt} + +$CXX -S -o - abi.cc |sed -n 's/^\(_Z.*\):/\1/p' |$CXXFILT |sed ' +s/^x_\([^(]*\)(\(.*\))/\1: \2/ +s/^y_\([^(]*\)(\(.*\))/\1*: \2/ +s/floatcomplex /float _Complex/g +s/doublecomplex /double _Complex/g +'