forked from OSchip/llvm-project
[MemProf] Fix a potential "permission denied" test failure on some systems.
NFC, to make the test more robost.
This commit is contained in:
parent
3a042dcd2e
commit
ecaff13fc0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue