https://bugs.llvm.org/show_bug.cgi?id=41408

            Bug ID: 41408
           Summary: llvm-objdump cannot disassemble `i32.const 0` in wasm
                    object file.
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objdump
          Assignee: unassignedb...@nondot.org
          Reporter: higuox...@gmail.com
                CC: llvm-bugs@lists.llvm.org

```
llvm-objdump -d llvm/test/tools/llvm-objdump/Inputs/trivial.obj.wasm
```
gives:

```
...
 0000ac: 41 00                      | i32.const 0
 0000ae: 10 81 80 80 80 00          | call 1 <SomeOtherFunction>
...
```

```
wasm-objdump -d llvm/test/tools/llvm-objdump/Inputs/trivial.obj.wasm
```
gives:

```
...
      1a:       00 41 00
      1d:       10 81 80 80 80 00       except_ref.call 1
...
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to