[llvm-branch-commits] [llvm] ecaff13 - [MemProf] Fix a potential "permission denied" test failure on some systems.
Haojian Wu via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Dec 7 05:04:39 PST 2020
Author: Haojian Wu
Date: 2020-12-07T14:04:23+01:00
New Revision: ecaff13fc0bc1105ad910a72a5d0dcd164b35191
URL: https://github.com/llvm/llvm-project/commit/ecaff13fc0bc1105ad910a72a5d0dcd164b35191
DIFF: https://github.com/llvm/llvm-project/commit/ecaff13fc0bc1105ad910a72a5d0dcd164b35191.diff
LOG: [MemProf] Fix a potential "permission denied" test failure on some systems.
NFC, to make the test more robost.
Added:
Modified:
llvm/test/Instrumentation/HeapProfiler/shadow.ll
Removed:
################################################################################
diff --git a/llvm/test/Instrumentation/HeapProfiler/shadow.ll b/llvm/test/Instrumentation/HeapProfiler/shadow.ll
index 4472f3d33a0f..6aa3a33aa91a 100644
--- a/llvm/test/Instrumentation/HeapProfiler/shadow.ll
+++ b/llvm/test/Instrumentation/HeapProfiler/shadow.ll
@@ -1,6 +1,6 @@
; RUN: opt < %s -passes='function(memprof),module(memprof-module)' -S | FileCheck --check-prefixes=STATIC %s
-; 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 1}' >> %t.pic.ll
; RUN: opt < %t.pic.ll -passes='function(memprof),module(memprof-module)' -S | FileCheck --check-prefixes=PIC %s
More information about the llvm-branch-commits
mailing list