diff options
| author | Sam Clegg <sbc@chromium.org> | 2018-04-26 18:15:32 +0000 |
|---|---|---|
| committer | Sam Clegg <sbc@chromium.org> | 2018-04-26 18:15:32 +0000 |
| commit | 6bb5a41f99445a9c067a699028d0d62a89953d12 (patch) | |
| tree | 59de67347939a02dae85848660ca40e08469b216 /llvm/test/ObjectYAML | |
| parent | b31f91897966d6f14c50ac22de8f8a15bcfc0812 (diff) | |
| download | bcm5719-llvm-6bb5a41f99445a9c067a699028d0d62a89953d12.tar.gz bcm5719-llvm-6bb5a41f99445a9c067a699028d0d62a89953d12.zip | |
[WebAssembly] Add version to object file metadata
Summary: See https://github.com/WebAssembly/tool-conventions/issues/54
Subscribers: jfb, dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D46069
llvm-svn: 330969
Diffstat (limited to 'llvm/test/ObjectYAML')
| -rw-r--r-- | llvm/test/ObjectYAML/wasm/code_section.yaml | 1 | ||||
| -rw-r--r-- | llvm/test/ObjectYAML/wasm/data_section.yaml | 1 | ||||
| -rw-r--r-- | llvm/test/ObjectYAML/wasm/invalid_global_weak.yaml | 1 | ||||
| -rw-r--r-- | llvm/test/ObjectYAML/wasm/linking_section.yaml | 5 | ||||
| -rw-r--r-- | llvm/test/ObjectYAML/wasm/weak_symbols.yaml | 1 |
5 files changed, 6 insertions, 3 deletions
diff --git a/llvm/test/ObjectYAML/wasm/code_section.yaml b/llvm/test/ObjectYAML/wasm/code_section.yaml index 62f60d65424..0d7cf61638b 100644 --- a/llvm/test/ObjectYAML/wasm/code_section.yaml +++ b/llvm/test/ObjectYAML/wasm/code_section.yaml @@ -39,6 +39,7 @@ Sections: Body: 108180808000210020000F0B - Type: CUSTOM Name: linking + Version: 1 SymbolTable: - Index: 0 Kind: FUNCTION diff --git a/llvm/test/ObjectYAML/wasm/data_section.yaml b/llvm/test/ObjectYAML/wasm/data_section.yaml index 5c9b688f9c1..ef5945dcaac 100644 --- a/llvm/test/ObjectYAML/wasm/data_section.yaml +++ b/llvm/test/ObjectYAML/wasm/data_section.yaml @@ -24,6 +24,7 @@ Sections: Addend: -6 - Type: CUSTOM Name: linking + Version: 1 SymbolTable: - Index: 0 Kind: DATA diff --git a/llvm/test/ObjectYAML/wasm/invalid_global_weak.yaml b/llvm/test/ObjectYAML/wasm/invalid_global_weak.yaml index 557882dcaab..c364075e2e4 100644 --- a/llvm/test/ObjectYAML/wasm/invalid_global_weak.yaml +++ b/llvm/test/ObjectYAML/wasm/invalid_global_weak.yaml @@ -13,6 +13,7 @@ Sections: GlobalMutable: false - Type: CUSTOM Name: linking + Version: 1 SymbolTable: - Index: 0 Kind: GLOBAL diff --git a/llvm/test/ObjectYAML/wasm/linking_section.yaml b/llvm/test/ObjectYAML/wasm/linking_section.yaml index 0c2c86404ae..d1f0243037d 100644 --- a/llvm/test/ObjectYAML/wasm/linking_section.yaml +++ b/llvm/test/ObjectYAML/wasm/linking_section.yaml @@ -29,6 +29,7 @@ Sections: Content: '11110000' - Type: CUSTOM Name: linking + Version: 1 SymbolTable: - Index: 0 Kind: FUNCTION @@ -48,9 +49,7 @@ Sections: - Priority: 1 Symbol: 0 ... -# CHECK: - Type: CUSTOM -# CHECK-NEXT: Name: linking -# CHECK-NEXT: SymbolTable: +# CHECK: SymbolTable: # CHECK-NEXT: - Index: 0 # CHECK-NEXT: Kind: FUNCTION # CHECK-NEXT: Name: bar diff --git a/llvm/test/ObjectYAML/wasm/weak_symbols.yaml b/llvm/test/ObjectYAML/wasm/weak_symbols.yaml index 3957caae74f..3e9ca34deac 100644 --- a/llvm/test/ObjectYAML/wasm/weak_symbols.yaml +++ b/llvm/test/ObjectYAML/wasm/weak_symbols.yaml @@ -36,6 +36,7 @@ Sections: Body: 00 - Type: CUSTOM Name: linking + Version: 1 SymbolTable: - Index: 0 Kind: FUNCTION |

