Change sym_check to filter non-stdlib symbols.
authorEric Fiselier <eric@efcs.ca>
Fri, 18 Nov 2016 01:40:20 +0000 (01:40 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 18 Nov 2016 01:40:20 +0000 (01:40 +0000)
commit4b10f489fb700f396a4e2046bec7c69bb18603a9
tree992c5cfee836c63123bd5487139726b90c7280ac
parent4497a28bd12888ea726a4d3bf26c6ddc04b6381b
Change sym_check to filter non-stdlib symbols.

Currently sym_check almost all names found in the binary, including those
which are defined in other libraries. This makes our ABI lists harder to maintain.

This patch adds a --only-stdlib-symbols option to sym_check which removes
all symbols which aren't possibly provided by libc++. It also re-generates
the linux ABI list after making this change.

llvm-svn: 287294
libcxx/lib/abi/CMakeLists.txt
libcxx/lib/abi/x86_64-unknown-linux-gnu.abilist
libcxx/utils/sym_check/sym_check/extract.py
libcxx/utils/sym_check/sym_check/util.py
libcxx/utils/sym_check/sym_diff.py
libcxx/utils/sym_check/sym_extract.py