; RUN: rm -rf %t && mkdir -p %t ; RUN: echo '!16 = !{!"%/t/global-ctor.ll", !0}' > %t/1 ; RUN: cat %s %t/1 > %t/2 ; RUN: opt -insert-gcov-profiling -disable-output < %t/2 ; 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 < %t/2 ; 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 }] ; Function Attrs: nounwind define internal void @__cxx_global_var_init() #0 section ".text.startup" !dbg !4 { entry: br label %0 ;