1 define internal void @dtor1() { 2 call void @func1() 3 ret void 4 } 5 6 define internal void @dtor2() { 7 ret void 8 } 9 10 define void @func1() { 11 ret void 12 } 13 14 define void @unused() { 15 ret void 16 } 17 18 @llvm.global_dtors = appending global[2 x{i32, void() *, i8 * }] [ 19 {i32, void() *, i8 * } { i32 2, void() *@dtor1, i8 *null}, 20 {i32, void() *, i8 * } { i32 7, void() *@dtor2, i8 *null}] 21