commit | 63cd3e5cd361ce074783fc0df241ecc6dc547dca | [log] [tgz] |
---|---|---|
author | Fangrui Song <maskray@google.com> | Wed Nov 07 03:02:11 2018 +0000 |
committer | Fangrui Song <maskray@google.com> | Wed Nov 07 03:02:11 2018 +0000 |
tree | 33b727d360ea956887daa493b1f95df918bafbc6 | |
parent | 7fe05795840708d135416fb9d9a5b58a27e84c4b [diff] |
[llvm-strip] Check "strip" with StringRef::contains instead of ends_with Summary: If argv[0] is version suffixed, e.g. llvm-strip-7, this will still work. Reviewers: rupprecht, jhenderson, alexshap, jakehehrlich Reviewed By: rupprecht Subscribers: alexshap, jakehehrlich, llvm-commits Differential Revision: https://reviews.llvm.org/D54193 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346292 91177308-0d34-0410-b5e6-96231b3b80d8