projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc4e7c
)
[gcov][test] Add mkdir -p %t && cd %t
author
Fangrui Song
<maskray@google.com>
Tue, 9 Jun 2020 18:07:25 +0000
(11:07 -0700)
committer
Fangrui Song
<maskray@google.com>
Tue, 9 Jun 2020 18:09:50 +0000
(11:09 -0700)
This allows an alternative lit runner (which does not chdir to %T)
to run within a read-only source tree.
llvm/test/Transforms/GCOVProfiling/global-ctor.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/GCOVProfiling/global-ctor.ll
b/llvm/test/Transforms/GCOVProfiling/global-ctor.ll
index
596a2ad
..
e90385c
100644
(file)
--- a/
llvm/test/Transforms/GCOVProfiling/global-ctor.ll
+++ b/
llvm/test/Transforms/GCOVProfiling/global-ctor.ll
@@
-1,5
+1,6
@@
;; For a global constructor, _GLOBAL__sub_I_ only has artificial lines.
;; Test that we don't instrument those functions.
+; RUN: mkdir -p %t && cd %t
; RUN: opt -S -insert-gcov-profiling < %s | FileCheck %s
; RUN: opt -S -passes=insert-gcov-profiling < %s | FileCheck %s