Skip to content

Commit 16df714

Browse files
authored
[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.
1 parent 10f3296 commit 16df714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/Thumb/stack_guard_remat.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: cp %s %t.pic.ll
1+
; RUN: cat %s > %t.pic.ll
22
; RUN: echo -e '!llvm.module.flags = !{!0}\n!0 = !{i32 7, !"PIC Level", i32 2}' >> %t.pic.ll
33
; RUN: llc < %t.pic.ll -mtriple=thumb-apple-darwin -relocation-model=pic -no-integrated-as | FileCheck %s -check-prefix=PIC
44
; RUN: llc < %s -mtriple=thumb-apple-darwin -relocation-model=static -no-integrated-as | FileCheck %s -check-prefix=NO-PIC -check-prefix=STATIC

0 commit comments

Comments
 (0)