mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
remove C++ entries of the form Class::method
This commit is contained in:
parent
d295f120ae
commit
c6a681a57d
1 changed files with 6 additions and 2 deletions
|
@ -18,6 +18,9 @@
|
||||||
# <InputFile> is an object (.o) or an archive file (.a).
|
# <InputFile> is an object (.o) or an archive file (.a).
|
||||||
#
|
#
|
||||||
# HISTORY:
|
# HISTORY:
|
||||||
|
# 3-Apr-1998 -- remove C++ entries of the form Class::method
|
||||||
|
# Vladimir Marangozov
|
||||||
|
#
|
||||||
# 1-Jul-1996 -- added header information
|
# 1-Jul-1996 -- added header information
|
||||||
# Vladimir Marangozov
|
# Vladimir Marangozov
|
||||||
#
|
#
|
||||||
|
@ -65,7 +68,8 @@ echo "*" >> $expFileName
|
||||||
# as a symbol prefix, but such symbols are undefined externs.
|
# as a symbol prefix, but such symbols are undefined externs.
|
||||||
# 6. Eliminate everything including the key letter, so that we're
|
# 6. Eliminate everything including the key letter, so that we're
|
||||||
# left with just the symbol name.
|
# left with just the symbol name.
|
||||||
|
# 7. Eliminate all entries containing two colons, like Class::method
|
||||||
#
|
#
|
||||||
/usr/ccs/bin/nm -Bex $inputFiles \
|
/usr/ccs/bin/nm -Bex $inputFiles \
|
||||||
| sed -e '/ [^BDT] /d' -e '/\./d' -e 's/.* [BDT] //' \
|
| sed -e '/ [^BDT] /d' -e '/\./d' -e 's/.* [BDT] //' -e '/::/d' \
|
||||||
| sort | uniq >> $expFileName
|
| sort | uniq >> $expFileName
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue