[PATCH] D119962: [ifs] Add --preserve flag for keeping symbols that would be removed by --strip-undefined

Alex Brachet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 16 11:04:33 PST 2022


abrachet created this revision.
abrachet added reviewers: haowei, mcgrathr.
Herald added a subscriber: hiraditya.
abrachet requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

There are use-cases of undefined symbols being part of the abi of a library and not it's implementation. In these cases `--strip-undefined` can be used with `--preserve` to keep undefined symbols that are explicitly marked as part of the abi.


https://reviews.llvm.org/D119962

Files:
  llvm/include/llvm/InterfaceStub/IFSHandler.h
  llvm/lib/InterfaceStub/IFSHandler.cpp
  llvm/test/tools/llvm-ifs/preserve.test
  llvm/tools/llvm-ifs/llvm-ifs.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119962.409332.patch
Type: text/x-patch
Size: 5445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220216/e23b3f44/attachment.bin>


More information about the llvm-commits mailing list