1 target triple = "wasm32-unknown-unknown"
3 define hidden void @myctor() {
8 define hidden void @mydtor() {
14 @llvm.global_ctors = appending global [3 x { i32, ptr, ptr }] [
15 { i32, ptr, ptr } { i32 2002, ptr @myctor, ptr null },
16 { i32, ptr, ptr } { i32 101, ptr @myctor, ptr null },
17 { i32, ptr, ptr } { i32 202, ptr @myctor, ptr null }
20 @llvm.global_dtors = appending global [3 x { i32, ptr, ptr }] [
21 { i32, ptr, ptr } { i32 2002, ptr @mydtor, ptr null },
22 { i32, ptr, ptr } { i32 101, ptr @mydtor, ptr null },
23 { i32, ptr, ptr } { i32 202, ptr @mydtor, ptr null }