reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
# RUN: yaml2obj %s | not llvm-objdump -h - 2>&1 | FileCheck %s

--- !WASM
FileHeader:
  Version:         0x00000001
Sections:
  - Type:            TYPE
    Signatures:
      - Index:           0
        ParamTypes:
          - I32
        ReturnTypes:
          - I32
  - Type:            IMPORT
    Imports:
      - Module:          foo
        Field:           a
        Kind:            FUNCTION
        SigIndex:        0
  - Type:            CUSTOM
    Name:            name
    FunctionNames:
      - Index:         0
        Name:          a
      - Index:         0
        Name:          b
...

# CHECK: {{.*}}: Function named more than once