diff options
| -rw-r--r-- | llvm/test/MC/WebAssembly/global-ctor-dtor.ll (renamed from llvm/test/MC/WebAssembly/init-fini-array.ll) | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/llvm/test/MC/WebAssembly/init-fini-array.ll b/llvm/test/MC/WebAssembly/global-ctor-dtor.ll index c72ea736682..759c72772bc 100644 --- a/llvm/test/MC/WebAssembly/init-fini-array.ll +++ b/llvm/test/MC/WebAssembly/global-ctor-dtor.ll @@ -7,10 +7,15 @@ declare void @func1() declare void @func2() declare void @func3() -@llvm.global_ctors = appending global [2 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @func0, i8* null }, { i32, void ()*, i8* } { i32 42, void ()* @func1, i8* null }] +@llvm.global_ctors = appending global [2 x { i32, void ()*, i8* }] [ + { i32, void ()*, i8* } { i32 65535, void ()* @func0, i8* null }, + { i32, void ()*, i8* } { i32 42, void ()* @func1, i8* null } +] -@llvm.global_dtors = appending global [2 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @func2, i8* null }, { i32, void ()*, i8* } { i32 42, void ()* @func3, i8* null }] - +@llvm.global_dtors = appending global [2 x { i32, void ()*, i8* }] [ + { i32, void ()*, i8* } { i32 65535, void ()* @func2, i8* null }, + { i32, void ()*, i8* } { i32 42, void ()* @func3, i8* null } +] ; CHECK: - Type: IMPORT ; CHECK-NEXT: Imports: |

