aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanial Klimkin <dklimkin@users.noreply.github.com>2024-01-23 14:48:33 +0100
committerGitHub <noreply@github.com>2024-01-23 14:48:33 +0100
commit16df714e77e8d31619445e5f6d87d89da962eec4 (patch)
tree3e10ea389b5cefb6186aead5a25af73badf67dc4
parent10f3296dd7d74c975f208a8569221dc8f96d1db1 (diff)
downloadllvm-16df714e77e8d31619445e5f6d87d89da962eec4.zip
llvm-16df714e77e8d31619445e5f6d87d89da962eec4.tar.gz
llvm-16df714e77e8d31619445e5f6d87d89da962eec4.tar.bz2
[test] Update stack_guard_remat.ll (#79139)
Replace cp with a cat. This allows to create a writable file when the original one is read-only.
-rw-r--r--llvm/test/CodeGen/Thumb/stack_guard_remat.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb/stack_guard_remat.ll b/llvm/test/CodeGen/Thumb/stack_guard_remat.ll
index b9c9933..cc14239 100644
--- a/llvm/test/CodeGen/Thumb/stack_guard_remat.ll
+++ b/llvm/test/CodeGen/Thumb/stack_guard_remat.ll
@@ -1,4 +1,4 @@
-; RUN: cp %s %t.pic.ll
+; RUN: cat %s > %t.pic.ll
; RUN: echo -e '!llvm.module.flags = !{!0}\n!0 = !{i32 7, !"PIC Level", i32 2}' >> %t.pic.ll
; RUN: llc < %t.pic.ll -mtriple=thumb-apple-darwin -relocation-model=pic -no-integrated-as | FileCheck %s -check-prefix=PIC
; RUN: llc < %s -mtriple=thumb-apple-darwin -relocation-model=static -no-integrated-as | FileCheck %s -check-prefix=NO-PIC -check-prefix=STATIC