[MemProf] Fix a potential "permission denied" test failure on some systems.

NFC, to make the test more robost.
This commit is contained in:
Haojian Wu 2020-12-07 14:02:21 +01:00
parent 3a042dcd2e
commit ecaff13fc0
1 changed files with 1 additions and 1 deletions

View File

@ -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