blob: a700b82bcb536a5dfd085b3e4aadd2c24fcd819d [file]
;;; TOOL: run-objdump-gen-wasm
;;; ARGS: -x
;;; ERROR: 1
magic
version
section(TYPE) { count[1] function params[0] results[0] }
section(FUNCTION) { count[1] type[0] }
section(CODE) {
count[1]
func {
locals [
decl_count[2]
leb_u32(0xffffffff) i32
leb_u32(1) i64
]
}
}
(;; STDERR ;;;
000001e: error: local count must be <= 0xffffffff
;;; STDERR ;;)
(;; STDOUT ;;;
bad-too-many-locals.wasm: file format wasm 0x1
Section Details:
Type[1]:
- type[0] () -> nil
Function[1]:
- func[0] sig=0
Code[1]:
- func[0] size=10
Code Disassembly:
000016 func[0]:
000017: ff ff ff ff 0f 7f | local[0..4294967294] type=i32
;;; STDOUT ;;)