[all-commits] [llvm/llvm-project] 911be0: [test][objcopy] Replace GNU sed extension with BSD...
Daniel Rodríguez Troitiño via All-commits
all-commits at lists.llvm.org
Tue Oct 26 17:37:14 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 911be05743eb60624a12c21461766e0e7bbf6f54
https://github.com/llvm/llvm-project/commit/911be05743eb60624a12c21461766e0e7bbf6f54
Author: Daniel Rodríguez Troitiño <danielrodriguez at fb.com>
Date: 2021-10-26 (Tue, 26 Oct 2021)
Changed paths:
M llvm/test/tools/llvm-objcopy/MachO/code_signature_lc.test
Log Message:
-----------
[test][objcopy] Replace GNU sed extension with BSD compatible syntax.
GNU sed offers the `,+4d` to delete the line a next four lines, but BSD
sed doesn't seem to support it (at least in macOS 10.15, but seems to do
in my 11.6 version).
Replace the usage of the extension with the equivalent syntax that works
both in BSD and GNU sed. I don't have a macOS 10.15 to check, but this
works in both my macOS 11.6 and Linux machines.
Differential Revision: https://reviews.llvm.org/D112583
More information about the All-commits
mailing list