From b9b1a522ea4e4ed42dd6acd91b69b45dc4eae829 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 24 Jan 2018 00:22:53 +0000 Subject: Remove trailing whitespace. llvm-svn: 323287 --- lld/test/wasm/alias.ll | 30 ++--- lld/test/wasm/call-indirect.ll | 6 +- lld/test/wasm/data-layout.ll | 12 +- lld/test/wasm/export.ll | 2 +- lld/test/wasm/import-memory.test | 4 +- lld/test/wasm/init-fini.ll | 10 +- lld/test/wasm/local-symbols.ll | 2 +- lld/test/wasm/locals-duplicate.test | 164 +++++++++++----------- lld/test/wasm/many-functions.ll | 262 ++++++++++++++++++------------------ lld/test/wasm/stack-pointer.ll | 4 +- lld/test/wasm/weak-alias-overide.ll | 8 +- lld/test/wasm/weak-alias.ll | 52 +++---- lld/test/wasm/weak-symbols.ll | 2 +- lld/test/wasm/weak-undefined.ll | 2 +- 14 files changed, 280 insertions(+), 280 deletions(-) diff --git a/lld/test/wasm/alias.ll b/lld/test/wasm/alias.ll index 694f37d0821..108dec32197 100644 --- a/lld/test/wasm/alias.ll +++ b/lld/test/wasm/alias.ll @@ -11,45 +11,45 @@ entry: } ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT ; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 1 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000001 ; CHECK-NEXT: Maximum: 0x00000001 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66560 ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: Type: I32 ; CHECK-NEXT: Mutable: false -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66560 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -63,19 +63,19 @@ entry: ; CHECK-NEXT: Kind: GLOBAL ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Functions: +; CHECK-NEXT: Functions: ; CHECK-NEXT: - Index: 0 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 41000B ; CHECK-NEXT: - Index: 1 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 0B ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: linking ; CHECK-NEXT: DataSize: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: _start ; CHECK-NEXT: - Index: 1 diff --git a/lld/test/wasm/call-indirect.ll b/lld/test/wasm/call-indirect.ll index 11055d742b6..840a3d95034 100644 --- a/lld/test/wasm/call-indirect.ll +++ b/lld/test/wasm/call-indirect.ll @@ -48,11 +48,11 @@ define void @call_ptr(i64 (i64)* %arg) { ; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 3 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - I32 ; CHECK-NEXT: - Index: 4 ; CHECK-NEXT: ReturnType: I64 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - I64 ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 1, 2, 2, 3, 1 ] @@ -115,7 +115,7 @@ define void @call_ptr(i64 (i64)* %arg) { ; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 42010B ; CHECK-NEXT: - Index: 1 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Count: 1 ; CHECK-NEXT: Body: 4100280284888080002100410028028088808000118080808000001A2000118280808000001A0B diff --git a/lld/test/wasm/data-layout.ll b/lld/test/wasm/data-layout.ll index da44ed39b0c..108ad7a67d6 100644 --- a/lld/test/wasm/data-layout.ll +++ b/lld/test/wasm/data-layout.ll @@ -11,31 +11,31 @@ ; RUN: obj2yaml %t.wasm | FileCheck %s ; CHECK: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66608 ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: Type: I32 ; CHECK-NEXT: Mutable: false -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66608 ; CHECK: - Type: DATA -; CHECK-NEXT: Segments: +; CHECK-NEXT: Segments: ; CHECK-NEXT: - SectionOffset: 7 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1024 ; CHECK-NEXT: Content: 0100000000000000000000000000000003000000000000001C040000 ; CHECK-NEXT: - SectionOffset: 41 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1052 ; CHECK-NEXT: Content: 68656C6C6F0A00 diff --git a/lld/test/wasm/export.ll b/lld/test/wasm/export.ll index 2ae12ab5938..eb74eec0b49 100644 --- a/lld/test/wasm/export.ll +++ b/lld/test/wasm/export.ll @@ -16,7 +16,7 @@ entry: ; CHECK-ERROR: error: symbol exported via --export not found: missing ; CHECK: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 diff --git a/lld/test/wasm/import-memory.test b/lld/test/wasm/import-memory.test index 9713e6cd5a1..913200f6796 100644 --- a/lld/test/wasm/import-memory.test +++ b/lld/test/wasm/import-memory.test @@ -5,9 +5,9 @@ # Verify the --import-memory flag creates a memory import # CHECK: - Type: IMPORT -# CHECK-NEXT: Imports: +# CHECK-NEXT: Imports: # CHECK-NEXT: - Module: env # CHECK-NEXT: Field: memory # CHECK-NEXT: Kind: MEMORY -# CHECK-NEXT: Memory: +# CHECK-NEXT: Memory: # CHECK-NEXT: Initial: 0x00000002 diff --git a/lld/test/wasm/init-fini.ll b/lld/test/wasm/init-fini.ll index a83a5129c63..621ed66a64d 100644 --- a/lld/test/wasm/init-fini.ll +++ b/lld/test/wasm/init-fini.ll @@ -46,8 +46,8 @@ entry: ; RUN: obj2yaml %t.wasm | FileCheck %s ; CHECK: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1 ; CHECK-NEXT: Functions: [ 6, 9, 13, 15, 17 ] @@ -58,7 +58,7 @@ entry: ; CHECK-NEXT: DataSize: 0 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: func1 ; CHECK-NEXT: - Index: 1 @@ -107,7 +107,7 @@ entry: ; RELOC: Name: linking ; RELOC-NEXT: DataSize: 0 -; RELOC-NEXT: SymbolInfo: +; RELOC-NEXT: SymbolInfo: ; RELOC-NEXT: - Name: __dso_handle ; RELOC-NEXT: Flags: [ BINDING_WEAK, VISIBILITY_HIDDEN ] ; RELOC-NEXT: - Name: func1 @@ -171,7 +171,7 @@ entry: ; RELOC-NEXT: FunctionIndex: 18 ; RELOC-NEXT: - Type: CUSTOM ; RELOC-NEXT: Name: name -; RELOC-NEXT: FunctionNames: +; RELOC-NEXT: FunctionNames: ; RELOC-NEXT: - Index: 0 ; RELOC-NEXT: Name: func1 ; RELOC-NEXT: - Index: 1 diff --git a/lld/test/wasm/local-symbols.ll b/lld/test/wasm/local-symbols.ll index 18348c088e1..b7665626f5c 100644 --- a/lld/test/wasm/local-symbols.ll +++ b/lld/test/wasm/local-symbols.ll @@ -26,7 +26,7 @@ entry: ; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 0, 1 ] ; CHECK-NEXT: - Type: TABLE diff --git a/lld/test/wasm/locals-duplicate.test b/lld/test/wasm/locals-duplicate.test index aeac1f814c7..ae8d12f76ad 100644 --- a/lld/test/wasm/locals-duplicate.test +++ b/lld/test/wasm/locals-duplicate.test @@ -4,36 +4,36 @@ ; RUN: obj2yaml %t.wasm | FileCheck %s ; CHECK: --- !WASM -; CHECK-NEXT: FileHeader: +; CHECK-NEXT: FileHeader: ; CHECK-NEXT: Version: 0x00000001 -; CHECK-NEXT: Sections: +; CHECK-NEXT: Sections: ; CHECK-NEXT: - Type: TYPE -; CHECK-NEXT: Signatures: +; CHECK-NEXT: Signatures: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: ReturnType: I32 -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION -; CHECK-NEXT: FunctionTypes: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +; CHECK-NEXT: FunctionTypes: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ; CHECK-NEXT: 0, 0, 1 ] ; CHECK-NEXT: - Type: TABLE -; CHECK-NEXT: Tables: +; CHECK-NEXT: Tables: ; CHECK-NEXT: - ElemType: ANYFUNC -; CHECK-NEXT: Limits: +; CHECK-NEXT: Limits: ; CHECK-NEXT: Flags: [ HAS_MAX ] ; CHECK-NEXT: Initial: 0x00000007 ; CHECK-NEXT: Maximum: 0x00000007 ; CHECK-NEXT: - Type: MEMORY -; CHECK-NEXT: Memories: +; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000002 ; CHECK-NEXT: - Type: GLOBAL -; CHECK-NEXT: Globals: +; CHECK-NEXT: Globals: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Type: I32 ; CHECK-NEXT: Mutable: true -; CHECK-NEXT: InitExpr: +; CHECK-NEXT: InitExpr: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66592 ; CHECK-NEXT: - Index: 1 @@ -43,7 +43,7 @@ ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 66592 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: memory ; CHECK-NEXT: Kind: MEMORY ; CHECK-NEXT: Index: 0 @@ -93,75 +93,75 @@ ; CHECK-NEXT: Kind: GLOBAL ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1 ; CHECK-NEXT: Functions: [ 0, 1, 2, 9, 10, 11 ] ; CHECK-NEXT: - Type: CODE -; CHECK-NEXT: Functions: +; CHECK-NEXT: Functions: ; CHECK-NEXT: - Index: 0 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 41020B ; CHECK-NEXT: - Index: 1 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 41020B ; CHECK-NEXT: - Index: 2 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 41020B ; CHECK-NEXT: - Index: 3 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4180888080000B ; CHECK-NEXT: - Index: 4 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4184888080000B ; CHECK-NEXT: - Index: 5 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4188888080000B ; CHECK-NEXT: - Index: 6 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4181808080000B ; CHECK-NEXT: - Index: 7 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4182808080000B ; CHECK-NEXT: - Index: 8 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4183808080000B ; CHECK-NEXT: - Index: 9 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 41020B ; CHECK-NEXT: - Index: 10 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 41020B ; CHECK-NEXT: - Index: 11 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 41020B ; CHECK-NEXT: - Index: 12 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 418C888080000B ; CHECK-NEXT: - Index: 13 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4190888080000B ; CHECK-NEXT: - Index: 14 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4194888080000B ; CHECK-NEXT: - Index: 15 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4184808080000B ; CHECK-NEXT: - Index: 16 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4185808080000B ; CHECK-NEXT: - Index: 17 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4186808080000B ; CHECK-NEXT: - Index: 18 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 0B ; CHECK-NEXT: - Type: DATA -; CHECK-NEXT: Segments: +; CHECK-NEXT: Segments: ; CHECK-NEXT: - SectionOffset: 7 ; CHECK-NEXT: MemoryIndex: 0 -; CHECK-NEXT: Offset: +; CHECK-NEXT: Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1024 ; CHECK-NEXT: Content: '000000000000000000000000000000000000000000000000' @@ -170,7 +170,7 @@ ; CHECK-NEXT: DataSize: 24 ; CHECK-NEXT: - Type: CUSTOM ; CHECK-NEXT: Name: name -; CHECK-NEXT: FunctionNames: +; CHECK-NEXT: FunctionNames: ; CHECK-NEXT: - Index: 0 ; CHECK-NEXT: Name: colliding_func1 ; CHECK-NEXT: - Index: 1 @@ -216,67 +216,67 @@ ; RUN: obj2yaml %t.reloc.wasm | FileCheck -check-prefix=RELOC %s ; RELOC: --- !WASM -; RELOC-NEXT: FileHeader: +; RELOC-NEXT: FileHeader: ; RELOC-NEXT: Version: 0x00000001 -; RELOC-NEXT: Sections: +; RELOC-NEXT: Sections: ; RELOC-NEXT: - Type: TYPE -; RELOC-NEXT: Signatures: +; RELOC-NEXT: Signatures: ; RELOC-NEXT: - Index: 0 ; RELOC-NEXT: ReturnType: I32 -; RELOC-NEXT: ParamTypes: +; RELOC-NEXT: ParamTypes: ; RELOC-NEXT: - Type: FUNCTION -; RELOC-NEXT: FunctionTypes: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +; RELOC-NEXT: FunctionTypes: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ; RELOC-NEXT: 0, 0 ] ; RELOC-NEXT: - Type: TABLE -; RELOC-NEXT: Tables: +; RELOC-NEXT: Tables: ; RELOC-NEXT: - ElemType: ANYFUNC -; RELOC-NEXT: Limits: +; RELOC-NEXT: Limits: ; RELOC-NEXT: Flags: [ HAS_MAX ] ; RELOC-NEXT: Initial: 0x00000006 ; RELOC-NEXT: Maximum: 0x00000006 ; RELOC-NEXT: - Type: MEMORY -; RELOC-NEXT: Memories: +; RELOC-NEXT: Memories: ; RELOC-NEXT: - Initial: 0x00000001 ; RELOC-NEXT: - Type: GLOBAL -; RELOC-NEXT: Globals: +; RELOC-NEXT: Globals: ; RELOC-NEXT: - Index: 0 ; RELOC-NEXT: Type: I32 ; RELOC-NEXT: Mutable: false -; RELOC-NEXT: InitExpr: +; RELOC-NEXT: InitExpr: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 0 ; RELOC-NEXT: - Index: 1 ; RELOC-NEXT: Type: I32 ; RELOC-NEXT: Mutable: false -; RELOC-NEXT: InitExpr: +; RELOC-NEXT: InitExpr: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 8 ; RELOC-NEXT: - Index: 2 ; RELOC-NEXT: Type: I32 ; RELOC-NEXT: Mutable: false -; RELOC-NEXT: InitExpr: +; RELOC-NEXT: InitExpr: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 16 ; RELOC-NEXT: - Index: 3 ; RELOC-NEXT: Type: I32 ; RELOC-NEXT: Mutable: false -; RELOC-NEXT: InitExpr: +; RELOC-NEXT: InitExpr: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 4 ; RELOC-NEXT: - Index: 4 ; RELOC-NEXT: Type: I32 ; RELOC-NEXT: Mutable: false -; RELOC-NEXT: InitExpr: +; RELOC-NEXT: InitExpr: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 12 ; RELOC-NEXT: - Index: 5 ; RELOC-NEXT: Type: I32 ; RELOC-NEXT: Mutable: false -; RELOC-NEXT: InitExpr: +; RELOC-NEXT: InitExpr: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 20 ; RELOC-NEXT: - Type: EXPORT -; RELOC-NEXT: Exports: +; RELOC-NEXT: Exports: ; RELOC-NEXT: - Name: colliding_func1.1 ; RELOC-NEXT: Kind: FUNCTION ; RELOC-NEXT: Index: 0 @@ -350,13 +350,13 @@ ; RELOC-NEXT: Kind: GLOBAL ; RELOC-NEXT: Index: 5 ; RELOC-NEXT: - Type: ELEM -; RELOC-NEXT: Segments: -; RELOC-NEXT: - Offset: +; RELOC-NEXT: Segments: +; RELOC-NEXT: - Offset: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 0 ; RELOC-NEXT: Functions: [ 0, 1, 2, 9, 10, 11 ] ; RELOC-NEXT: - Type: CODE -; RELOC-NEXT: Relocations: +; RELOC-NEXT: Relocations: ; RELOC-NEXT: - Type: R_WEBASSEMBLY_MEMORY_ADDR_SLEB ; RELOC-NEXT: Index: 0 ; RELOC-NEXT: Offset: 0x00000013 @@ -393,85 +393,85 @@ ; RELOC-NEXT: - Type: R_WEBASSEMBLY_TABLE_INDEX_SLEB ; RELOC-NEXT: Index: 11 ; RELOC-NEXT: Offset: 0x00000085 -; RELOC-NEXT: Functions: +; RELOC-NEXT: Functions: ; RELOC-NEXT: - Index: 0 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 41020B ; RELOC-NEXT: - Index: 1 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 41020B ; RELOC-NEXT: - Index: 2 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 41020B ; RELOC-NEXT: - Index: 3 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4180808080000B ; RELOC-NEXT: - Index: 4 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4188808080000B ; RELOC-NEXT: - Index: 5 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4190808080000B ; RELOC-NEXT: - Index: 6 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4180808080000B ; RELOC-NEXT: - Index: 7 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4181808080000B ; RELOC-NEXT: - Index: 8 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4182808080000B ; RELOC-NEXT: - Index: 9 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 41020B ; RELOC-NEXT: - Index: 10 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 41020B ; RELOC-NEXT: - Index: 11 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 41020B ; RELOC-NEXT: - Index: 12 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4184808080000B ; RELOC-NEXT: - Index: 13 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 418C808080000B ; RELOC-NEXT: - Index: 14 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4194808080000B ; RELOC-NEXT: - Index: 15 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4183808080000B ; RELOC-NEXT: - Index: 16 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4184808080000B ; RELOC-NEXT: - Index: 17 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 4185808080000B ; RELOC-NEXT: - Type: DATA -; RELOC-NEXT: Segments: +; RELOC-NEXT: Segments: ; RELOC-NEXT: - SectionOffset: 6 ; RELOC-NEXT: MemoryIndex: 0 -; RELOC-NEXT: Offset: +; RELOC-NEXT: Offset: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 0 ; RELOC-NEXT: Content: '0000000000000000' ; RELOC-NEXT: - SectionOffset: 19 ; RELOC-NEXT: MemoryIndex: 0 -; RELOC-NEXT: Offset: +; RELOC-NEXT: Offset: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 8 ; RELOC-NEXT: Content: '0000000000000000' ; RELOC-NEXT: - SectionOffset: 32 ; RELOC-NEXT: MemoryIndex: 0 -; RELOC-NEXT: Offset: +; RELOC-NEXT: Offset: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 16 ; RELOC-NEXT: Content: '0000000000000000' ; RELOC-NEXT: - Type: CUSTOM ; RELOC-NEXT: Name: linking ; RELOC-NEXT: DataSize: 24 -; RELOC-NEXT: SymbolInfo: +; RELOC-NEXT: SymbolInfo: ; RELOC-NEXT: - Name: colliding_func1.1 ; RELOC-NEXT: Flags: [ BINDING_LOCAL ] ; RELOC-NEXT: - Name: colliding_func3 @@ -488,7 +488,7 @@ ; RELOC-NEXT: Flags: [ BINDING_LOCAL ] ; RELOC-NEXT: - Name: colliding_global3.1 ; RELOC-NEXT: Flags: [ BINDING_LOCAL ] -; RELOC-NEXT: SegmentInfo: +; RELOC-NEXT: SegmentInfo: ; RELOC-NEXT: - Index: 0 ; RELOC-NEXT: Name: .bss.colliding_global1 ; RELOC-NEXT: Alignment: 4 @@ -503,7 +503,7 @@ ; RELOC-NEXT: Flags: [ ] ; RELOC-NEXT: - Type: CUSTOM ; RELOC-NEXT: Name: name -; RELOC-NEXT: FunctionNames: +; RELOC-NEXT: FunctionNames: ; RELOC-NEXT: - Index: 0 ; RELOC-NEXT: Name: colliding_func1 ; RELOC-NEXT: - Index: 1 diff --git a/lld/test/wasm/many-functions.ll b/lld/test/wasm/many-functions.ll index 4b69a423de6..8ccba226499 100644 --- a/lld/test/wasm/many-functions.ll +++ b/lld/test/wasm/many-functions.ll @@ -406,396 +406,396 @@ entry: ; CHECK-NEXT: - Type: R_WEBASSEMBLY_FUNCTION_INDEX_LEB ; CHECK-NEXT: Index: 129 ; CHECK-NEXT: Offset: 0x00000611 -; CHECK-NEXT: Functions: +; CHECK-NEXT: Functions: ; CHECK-NEXT: - Index: 0 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 1 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 2 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 3 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 4 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 5 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 6 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 7 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 8 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 9 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 10 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 11 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 12 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 13 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 14 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 15 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 16 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 17 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 18 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 19 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 20 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 21 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 22 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 23 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 24 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 25 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 26 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 27 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 28 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 29 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 30 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 31 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 32 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 33 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 34 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 35 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 36 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 37 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 38 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 39 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 40 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 41 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 42 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 43 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 44 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 45 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 46 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 47 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 48 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 49 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 50 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 51 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 52 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 53 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 54 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 55 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 56 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 57 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 58 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 59 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 60 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 61 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 62 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 63 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 64 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 65 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 66 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 67 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 68 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 69 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 70 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 71 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 72 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 73 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 74 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 75 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 76 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 77 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 78 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 79 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 80 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 81 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 82 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 83 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 84 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 85 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 86 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 87 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 88 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 89 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 90 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 91 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 92 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 93 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 94 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 95 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 96 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 97 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 98 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 99 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 100 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 101 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 102 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 103 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 104 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 105 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 106 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 107 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 108 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 109 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 110 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 111 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 112 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 113 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 114 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 115 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 116 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 117 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 118 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 119 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 120 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 121 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 122 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 123 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 124 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 125 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 126 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280284808080000B ; CHECK-NEXT: - Index: 127 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280280808080000B ; CHECK-NEXT: - Index: 128 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 4100280280808080000B ; CHECK-NEXT: - Index: 129 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 1081818080000B ; CHECK-NEXT: - Type: DATA ; CHECK-NEXT: Segments: diff --git a/lld/test/wasm/stack-pointer.ll b/lld/test/wasm/stack-pointer.ll index e476b63abe4..1b8cdb0c5ec 100644 --- a/lld/test/wasm/stack-pointer.ll +++ b/lld/test/wasm/stack-pointer.ll @@ -19,7 +19,7 @@ entry: ; CHECK-NEXT: ReturnType: I32 ; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: IMPORT -; CHECK-NEXT: Imports: +; CHECK-NEXT: Imports: ; CHECK-NEXT: - Module: env ; CHECK-NEXT: Field: __stack_pointer ; CHECK-NEXT: Kind: GLOBAL @@ -38,7 +38,7 @@ entry: ; CHECK-NEXT: Memories: ; CHECK-NEXT: - Initial: 0x00000000 ; CHECK-NEXT: - Type: EXPORT -; CHECK-NEXT: Exports: +; CHECK-NEXT: Exports: ; CHECK-NEXT: - Name: _start ; CHECK-NEXT: Kind: FUNCTION ; CHECK-NEXT: Index: 0 diff --git a/lld/test/wasm/weak-alias-overide.ll b/lld/test/wasm/weak-alias-overide.ll index 72519d51dc3..4904565fd88 100644 --- a/lld/test/wasm/weak-alias-overide.ll +++ b/lld/test/wasm/weak-alias-overide.ll @@ -85,8 +85,8 @@ entry: ; CHECK-NEXT: Kind: GLOBAL ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1 ; CHECK-NEXT: Functions: [ 0, 2 ] @@ -108,12 +108,12 @@ entry: ; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 1080808080000B ; CHECK-NEXT: - Index: 5 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Count: 2 ; CHECK-NEXT: Body: 23808080800041106B220024808080800020004181808080003602081080808080002101200041106A24808080800020010B ; CHECK-NEXT: - Index: 6 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Count: 2 ; CHECK-NEXT: Body: 23808080800041106B220024808080800020004182808080003602081082808080002101200041106A24808080800020010B diff --git a/lld/test/wasm/weak-alias.ll b/lld/test/wasm/weak-alias.ll index 7fc41cc84ee..40651b6768d 100644 --- a/lld/test/wasm/weak-alias.ll +++ b/lld/test/wasm/weak-alias.ll @@ -25,7 +25,7 @@ entry: ; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 0, 0, 0, 0, 0, 1 ] ; CHECK-NEXT: - Type: TABLE @@ -82,8 +82,8 @@ entry: ; CHECK-NEXT: Kind: GLOBAL ; CHECK-NEXT: Index: 1 ; CHECK-NEXT: - Type: ELEM -; CHECK-NEXT: Segments: -; CHECK-NEXT: - Offset: +; CHECK-NEXT: Segments: +; CHECK-NEXT: - Offset: ; CHECK-NEXT: Opcode: I32_CONST ; CHECK-NEXT: Value: 1 ; CHECK-NEXT: Functions: [ 1, 1 ] @@ -102,12 +102,12 @@ entry: ; CHECK-NEXT: Locals: ; CHECK-NEXT: Body: 1081808080000B ; CHECK-NEXT: - Index: 4 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Count: 2 ; CHECK-NEXT: Body: 23808080800041106B220024808080800020004181808080003602081081808080002101200041106A24808080800020010B ; CHECK-NEXT: - Index: 5 -; CHECK-NEXT: Locals: +; CHECK-NEXT: Locals: ; CHECK-NEXT: - Type: I32 ; CHECK-NEXT: Count: 2 ; CHECK-NEXT: Body: 23808080800041106B220024808080800020004182808080003602081081808080002101200041106A24808080800020010B @@ -140,16 +140,16 @@ entry: ; RUN: obj2yaml %t.reloc.o | FileCheck %s -check-prefix=RELOC ; RELOC: --- !WASM -; RELOC-NEXT: FileHeader: +; RELOC-NEXT: FileHeader: ; RELOC-NEXT: Version: 0x00000001 -; RELOC-NEXT: Sections: +; RELOC-NEXT: Sections: ; RELOC-NEXT: - Type: TYPE -; RELOC-NEXT: Signatures: +; RELOC-NEXT: Signatures: ; RELOC-NEXT: - Index: 0 ; RELOC-NEXT: ReturnType: I32 -; RELOC-NEXT: ParamTypes: +; RELOC-NEXT: ParamTypes: ; RELOC-NEXT: - Type: IMPORT -; RELOC-NEXT: Imports: +; RELOC-NEXT: Imports: ; RELOC-NEXT: - Module: env ; RELOC-NEXT: Field: __stack_pointer ; RELOC-NEXT: Kind: GLOBAL @@ -158,17 +158,17 @@ entry: ; RELOC-NEXT: - Type: FUNCTION ; RELOC-NEXT: FunctionTypes: [ 0, 0, 0, 0, 0, 0 ] ; RELOC-NEXT: - Type: TABLE -; RELOC-NEXT: Tables: +; RELOC-NEXT: Tables: ; RELOC-NEXT: - ElemType: ANYFUNC -; RELOC-NEXT: Limits: +; RELOC-NEXT: Limits: ; RELOC-NEXT: Flags: [ HAS_MAX ] ; RELOC-NEXT: Initial: 0x00000002 ; RELOC-NEXT: Maximum: 0x00000002 ; RELOC-NEXT: - Type: MEMORY -; RELOC-NEXT: Memories: +; RELOC-NEXT: Memories: ; RELOC-NEXT: - Initial: 0x00000000 ; RELOC-NEXT: - Type: EXPORT -; RELOC-NEXT: Exports: +; RELOC-NEXT: Exports: ; RELOC-NEXT: - Name: _start ; RELOC-NEXT: Kind: FUNCTION ; RELOC-NEXT: Index: 0 @@ -191,13 +191,13 @@ entry: ; RELOC-NEXT: Kind: FUNCTION ; RELOC-NEXT: Index: 5 ; RELOC-NEXT: - Type: ELEM -; RELOC-NEXT: Segments: -; RELOC-NEXT: - Offset: +; RELOC-NEXT: Segments: +; RELOC-NEXT: - Offset: ; RELOC-NEXT: Opcode: I32_CONST ; RELOC-NEXT: Value: 0 ; RELOC-NEXT: Functions: [ 1, 1 ] ; RELOC-NEXT: - Type: CODE -; RELOC-NEXT: Relocations: +; RELOC-NEXT: Relocations: ; RELOC-NEXT: - Type: R_WEBASSEMBLY_FUNCTION_INDEX_LEB ; RELOC-NEXT: Index: 1 ; RELOC-NEXT: Offset: 0x00000004 @@ -237,38 +237,38 @@ entry: ; RELOC-NEXT: - Type: R_WEBASSEMBLY_GLOBAL_INDEX_LEB ; RELOC-NEXT: Index: 0 ; RELOC-NEXT: Offset: 0x00000085 -; RELOC-NEXT: Functions: +; RELOC-NEXT: Functions: ; RELOC-NEXT: - Index: 0 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 1081808080000B ; RELOC-NEXT: - Index: 1 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 41000B ; RELOC-NEXT: - Index: 2 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 1081808080000B ; RELOC-NEXT: - Index: 3 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: Body: 1081808080000B ; RELOC-NEXT: - Index: 4 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: - Type: I32 ; RELOC-NEXT: Count: 2 ; RELOC-NEXT: Body: 23808080800041106B220024808080800020004180808080003602081081808080002101200041106A24808080800020010B ; RELOC-NEXT: - Index: 5 -; RELOC-NEXT: Locals: +; RELOC-NEXT: Locals: ; RELOC-NEXT: - Type: I32 ; RELOC-NEXT: Count: 2 ; RELOC-NEXT: Body: 23808080800041106B220024808080800020004181808080003602081081808080002101200041106A24808080800020010B ; RELOC-NEXT: - Type: CUSTOM ; RELOC-NEXT: Name: linking ; RELOC-NEXT: DataSize: 0 -; RELOC-NEXT: SymbolInfo: +; RELOC-NEXT: SymbolInfo: ; RELOC-NEXT: - Name: alias_fn ; RELOC-NEXT: Flags: [ BINDING_WEAK ] ; RELOC-NEXT: - Type: CUSTOM ; RELOC-NEXT: Name: name -; RELOC-NEXT: FunctionNames: +; RELOC-NEXT: FunctionNames: ; RELOC-NEXT: - Index: 0 ; RELOC-NEXT: Name: _start ; RELOC-NEXT: - Index: 1 diff --git a/lld/test/wasm/weak-symbols.ll b/lld/test/wasm/weak-symbols.ll index 6fe8c9f8a1d..8b493022894 100644 --- a/lld/test/wasm/weak-symbols.ll +++ b/lld/test/wasm/weak-symbols.ll @@ -25,7 +25,7 @@ entry: ; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 0, 0, 0, 0, 1 ] ; CHECK-NEXT: - Type: TABLE diff --git a/lld/test/wasm/weak-undefined.ll b/lld/test/wasm/weak-undefined.ll index b4111904c2d..92eec8fb167 100644 --- a/lld/test/wasm/weak-undefined.ll +++ b/lld/test/wasm/weak-undefined.ll @@ -35,7 +35,7 @@ entry: ; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Index: 1 ; CHECK-NEXT: ReturnType: NORESULT -; CHECK-NEXT: ParamTypes: +; CHECK-NEXT: ParamTypes: ; CHECK-NEXT: - Type: FUNCTION ; CHECK-NEXT: FunctionTypes: [ 0, 0, 0, 1 ] ; CHECK-NEXT: - Type: TABLE -- cgit v1.2.1