repo.or.cz
/
musl-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
v1.1.16 update
[musl-tools.git]
/
abi_type_data.sh
blob
90132d1087703dac1cdcc6432fe789cf24d7b1ad
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
'