mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
f1e68092e6
This makes the behavior similar to cp ``` chmod u+s,g+s,o+x a sudo llvm-strip a -o b // With this patch, b drops set-user-ID and set-group-ID bits. // sudo cp a b => b does not have set-user-ID or set-group-ID bits. ``` This also changes the behavior for the following case: ``` chmod u+s,g+s,o+x a llvm-strip a // a preserves set-user-ID and set-group-ID bits. // This matches binutils<2.36 and probably >=2.37. 2.36 and 2.36.1 have some compatibility issues. ``` Differential Revision: https://reviews.llvm.org/D97253 |
||
---|---|---|
.. | ||
COFF | ||
ELF | ||
MachO | ||
wasm | ||
BitcodeStripOpts.td | ||
Buffer.cpp | ||
Buffer.h | ||
CMakeLists.txt | ||
CommonOpts.td | ||
CopyConfig.cpp | ||
CopyConfig.h | ||
InstallNameToolOpts.td | ||
llvm-objcopy.cpp | ||
llvm-objcopy.h | ||
ObjcopyOpts.td | ||
StripOpts.td |