projects
/
musl-tables
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
90132d1087703dac1cdcc6432fe789cf24d7b1ad
[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
'