[compiler-rt] ade776b - [profile] Clean up stale raw profiles in instrprof-write-file.c

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 16:08:38 PDT 2019


Author: Vedant Kumar
Date: 2019-10-31T16:04:08-07:00
New Revision: ade776b5845384bb45fcd2f7919d80f4101971a7

URL: https://github.com/llvm/llvm-project/commit/ade776b5845384bb45fcd2f7919d80f4101971a7
DIFF: https://github.com/llvm/llvm-project/commit/ade776b5845384bb45fcd2f7919d80f4101971a7.diff

LOG: [profile] Clean up stale raw profiles in instrprof-write-file.c

Added: 
    

Modified: 
    compiler-rt/test/profile/instrprof-write-file.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/instrprof-write-file.c b/compiler-rt/test/profile/instrprof-write-file.c
index af008ed9439e..e2f5e112e064 100644
--- a/compiler-rt/test/profile/instrprof-write-file.c
+++ b/compiler-rt/test/profile/instrprof-write-file.c
@@ -1,3 +1,4 @@
+// RUN: rm -rf %t1.profraw %t2.profraw
 // RUN: %clang_profgen -o %t -O3 %s
 // RUN: env LLVM_PROFILE_FILE=%t1.profraw %run %t %t2.profraw
 // RUN: llvm-profdata merge -o %t1.profdata %t1.profraw


        


More information about the llvm-commits mailing list