mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 11:37:03 +00:00
![Sam Clegg](/assets/img/avatar_default.png)
The check for valid start function was inverted. Added a new test in test/Object to check this case and fixed the existing tests in for ObjectYAML. Differential Revision: https://reviews.llvm.org/D32986 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302560 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
358 B
YAML
16 lines
358 B
YAML
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: FUNCTION
|
|
FunctionTypes: [ 1, 0 ]
|
|
...
|
|
# CHECK: --- !WASM
|
|
# CHECK: FileHeader:
|
|
# CHECK: Version: 0x00000001
|
|
# CHECK: Sections:
|
|
# CHECK: - Type: FUNCTION
|
|
# CHECK: FunctionTypes: [ 1, 0 ]
|
|
# CHECK: ...
|