Index: test/wasm/call-indirect.ll =================================================================== --- test/wasm/call-indirect.ll +++ test/wasm/call-indirect.ll @@ -42,7 +42,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000003 ; CHECK-NEXT: Maximum: 0x00000003 ; CHECK-NEXT: - Type: MEMORY Index: test/wasm/local-symbols.ll =================================================================== --- test/wasm/local-symbols.ll +++ test/wasm/local-symbols.ll @@ -30,7 +30,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY Index: test/wasm/many-functions.ll =================================================================== --- test/wasm/many-functions.ll +++ test/wasm/many-functions.ll @@ -688,9 +688,8 @@ ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: .data.g0 ; CHECK-NEXT: Alignment: 4 -; CHECK-NEXT: Flags: 0 +; CHECK-NEXT: Flags: [ ] ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: Name: .data.foo ; CHECK-NEXT: Alignment: 4 -; CHECK-NEXT: Flags: 0 - +; CHECK-NEXT: Flags: [ ] Index: test/wasm/relocatable.ll =================================================================== --- test/wasm/relocatable.ll +++ test/wasm/relocatable.ll @@ -54,7 +54,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000002 ; CHECK-NEXT: Maximum: 0x00000002 ; CHECK-NEXT: - Type: MEMORY @@ -167,19 +167,19 @@ ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: .rodata.hello_str ; CHECK-NEXT: Alignment: 1 -; CHECK-NEXT: Flags: 0 +; CHECK-NEXT: Flags: [ ] ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: Name: .data.func_addr1 ; CHECK-NEXT: Alignment: 4 -; CHECK-NEXT: Flags: 0 +; CHECK-NEXT: Flags: [ ] ; CHECK-NEXT: - Index: 2 ; CHECK-NEXT: Name: .data.func_addr2 ; CHECK-NEXT: Alignment: 4 -; CHECK-NEXT: Flags: 0 +; CHECK-NEXT: Flags: [ ] ; CHECK-NEXT: - Index: 3 ; CHECK-NEXT: Name: .data.data_addr1 ; CHECK-NEXT: Alignment: 8 -; CHECK-NEXT: Flags: 0 +; CHECK-NEXT: Flags: [ ] ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name ; CHECK-NEXT: FunctionNames: Index: test/wasm/stack-pointer.ll =================================================================== --- test/wasm/stack-pointer.ll +++ test/wasm/stack-pointer.ll @@ -24,7 +24,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY Index: test/wasm/weak-alias-overide.ll =================================================================== --- test/wasm/weak-alias-overide.ll +++ test/wasm/weak-alias-overide.ll @@ -35,7 +35,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY Index: test/wasm/weak-alias.ll =================================================================== --- test/wasm/weak-alias.ll +++ test/wasm/weak-alias.ll @@ -29,7 +29,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY Index: test/wasm/weak-external.ll =================================================================== --- test/wasm/weak-external.ll +++ test/wasm/weak-external.ll @@ -39,7 +39,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000002 ; CHECK-NEXT: Maximum: 0x00000002 ; CHECK-NEXT: - Type: MEMORY Index: test/wasm/weak-symbols.ll =================================================================== --- test/wasm/weak-symbols.ll +++ test/wasm/weak-symbols.ll @@ -30,7 +30,7 @@ ; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC ; CHECK-NEXT: Limits: -; CHECK-NEXT: Flags: 0x00000001 +; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000002 ; CHECK-NEXT: Maximum: 0x00000002 ; CHECK-NEXT: - Type: MEMORY