1 ; ModuleID = 'comdat-mixed-lto1.o'
2 source_filename = "comdat-mixed-lto1.cpp"
3 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-unknown-linux-gnu"
6 %"class.Test::ptr" = type { i32 }
10 @C = linkonce_odr global %"class.Test::ptr" zeroinitializer, comdat, align 4
11 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @__cxx_global_var_init, i8* bitcast (%"class.Test::ptr"* @C to i8*) }]
13 define void @testglobfunc() #1 section ".text.startup" comdat($C) {
18 ; Function Attrs: noinline uwtable
19 define internal void @__cxx_global_var_init() #1 section ".text.startup" comdat($C) {
21 store i32 0, i32* getelementptr inbounds (%"class.Test::ptr", %"class.Test::ptr"* @C, i32 0, i32 0), align 4