diff --git a/test/Transforms/GCOVProfiling/global-ctor.ll b/test/Transforms/GCOVProfiling/global-ctor.ll index 998fd912457..9ca7561d8e4 100644 --- a/test/Transforms/GCOVProfiling/global-ctor.ll +++ b/test/Transforms/GCOVProfiling/global-ctor.ll @@ -4,6 +4,8 @@ ; RUN: not grep '_GLOBAL__sub_I_global-ctor' %T/global-ctor.gcno ; RUN: rm %T/global-ctor.gcno +; REQUIRES: shell + @x = global i32 0, align 4 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @_GLOBAL__sub_I_global-ctor.ll, i8* null }] diff --git a/test/Transforms/GCOVProfiling/linkagename.ll b/test/Transforms/GCOVProfiling/linkagename.ll index b22f65b14eb..b5ee1ac2552 100644 --- a/test/Transforms/GCOVProfiling/linkagename.ll +++ b/test/Transforms/GCOVProfiling/linkagename.ll @@ -4,6 +4,8 @@ ; RUN: grep _Z3foov %T/linkagename.gcno ; RUN: rm %T/linkagename.gcno +; REQUIRES: shell + define void @_Z3foov() { entry: ret void, !dbg !8 diff --git a/test/Transforms/GCOVProfiling/version.ll b/test/Transforms/GCOVProfiling/version.ll index acc34b4d397..3307bdf7de4 100644 --- a/test/Transforms/GCOVProfiling/version.ll +++ b/test/Transforms/GCOVProfiling/version.ll @@ -12,6 +12,8 @@ define void @test() { ret void, !dbg !8 } +; REQUIRES: shell + !llvm.gcov = !{!9} !llvm.dbg.cu = !{!0} !llvm.module.flags = !{!12}