diff options
Diffstat (limited to 'llvm/test/Transforms/GCOVProfiling/global-ctor.ll')
| -rw-r--r-- | llvm/test/Transforms/GCOVProfiling/global-ctor.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/GCOVProfiling/global-ctor.ll b/llvm/test/Transforms/GCOVProfiling/global-ctor.ll index 1275933850f..e20da85eb58 100644 --- a/llvm/test/Transforms/GCOVProfiling/global-ctor.ll +++ b/llvm/test/Transforms/GCOVProfiling/global-ctor.ll @@ -4,6 +4,10 @@ ; RUN: not grep '_GLOBAL__sub_I_global-ctor' %T/global-ctor.gcno ; RUN: rm %T/global-ctor.gcno +; RUN: opt -passes=insert-gcov-profiling -disable-output < %t2 +; RUN: not grep '_GLOBAL__sub_I_global-ctor' %T/global-ctor.gcno +; RUN: rm %T/global-ctor.gcno + @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 }] |

