[llvm] 90166c2 - [gcov][test] Don't write a.gcno in CWD

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 17:34:53 PDT 2020


Author: Fangrui Song
Date: 2020-08-28T17:34:44-07:00
New Revision: 90166c25631053eb4eaf5084358563ea268bb482

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

LOG: [gcov][test] Don't write a.gcno in CWD

Added: 
    

Modified: 
    llvm/test/Transforms/GCOVProfiling/atomic-counter.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/GCOVProfiling/atomic-counter.ll b/llvm/test/Transforms/GCOVProfiling/atomic-counter.ll
index f293bac9a142..01843e26331f 100644
--- a/llvm/test/Transforms/GCOVProfiling/atomic-counter.ll
+++ b/llvm/test/Transforms/GCOVProfiling/atomic-counter.ll
@@ -1,4 +1,5 @@
 ;; -fsanitize=thread requires the (potentially concurrent) counter updates to be atomic.
+; RUN: mkdir -p %t && cd %t
 ; RUN: opt < %s -S -passes=insert-gcov-profiling -gcov-atomic-counter | FileCheck %s
 
 ; CHECK-LABEL: void @empty()


        


More information about the llvm-commits mailing list