[all-commits] [llvm/llvm-project] f2f96e: [llvm-objcopy] Improve tool selection logic to rec...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Mar 23 13:49:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f2f96eb605bc770e4da400dbcc7a6d2526ec1fd4
https://github.com/llvm/llvm-project/commit/f2f96eb605bc770e4da400dbcc7a6d2526ec1fd4
Author: Fangrui Song <maskray at google.com>
Date: 2020-03-23 (Mon, 23 Mar 2020)
Changed paths:
A llvm/test/tools/llvm-objcopy/tool-name.test
M llvm/tools/llvm-objcopy/llvm-objcopy.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list