[ifs] Add --exclude flag
authorAlex Brachet <abrachet@google.com>
Fri, 18 Feb 2022 19:13:55 +0000 (19:13 +0000)
committerAlex Brachet <abrachet@google.com>
Fri, 18 Feb 2022 19:14:34 +0000 (19:14 +0000)
commit1e116867dbc84ebc6e7165996a8bbef7261c3ccd
treed9d29c6a886a9b97c42ae8a46420a5c08bbad2a0
parentff2e4c04c46a9173489a6aa7dd70b804105f4d03
[ifs] Add --exclude flag

Use to remove certain symbols which match the glob pattern. Can be used with --strip-undefined

Reviewed By: haowei, mcgrathr

Differential Revision: https://reviews.llvm.org/D119962
llvm/include/llvm/InterfaceStub/IFSHandler.h
llvm/lib/InterfaceStub/IFSHandler.cpp
llvm/test/tools/llvm-ifs/exclude.test [new file with mode: 0644]
llvm/tools/llvm-ifs/llvm-ifs.cpp