diff options
author | Fangrui Song <maskray@google.com> | 2020-03-21 23:39:01 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-04-11 22:20:59 -0700 |
commit | 50d7e5d5e7db05b53d8832b49761eb627fd2eb63 (patch) | |
tree | 37610287c53688a5160ea2fd77d56e1c269a4e28 /llvm/tools/llvm-objcopy/MachO | |
parent | 489a7356cca373de761ada4c06c5b43edc581b4b (diff) | |
download | bcm5719-llvm-50d7e5d5e7db05b53d8832b49761eb627fd2eb63.tar.gz bcm5719-llvm-50d7e5d5e7db05b53d8832b49761eb627fd2eb63.zip |
[llvm-objcopy] Improve tool selection logic to recognize llvm-strip-$major as strip
Debian and some other distributions install llvm-strip as llvm-strip-$major (e.g. `/usr/bin/llvm-strip-9`)
D54193 made it work with llvm-strip-$major but did not add a test.
The behavior was regressed by D69146.
Fixes https://github.com/ClangBuiltLinux/linux/issues/940
Reviewed By: alexshap
Differential Revision: https://reviews.llvm.org/D76562
(cherry picked from commit f2f96eb605bc770e4da400dbcc7a6d2526ec1fd4)
Diffstat (limited to 'llvm/tools/llvm-objcopy/MachO')
0 files changed, 0 insertions, 0 deletions