repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
ObjectYAML
/
wasm
/
invalid_export.yaml
blob
a61f8c4cfdee8ce559d0fdb9a4714c8e36dcdf87
1
# RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s
2
3
--- !WASM
4
FileHeader:
5
Version: 0x00000001
6
Sections:
7
- Type: EXPORT
8
Exports:
9
- Name: invalid_function_index
10
Kind: FUNCTION
11
Index: 0x00000001
12
13
# CHECK: Error reading file: <stdin>: Invalid function export