[llvm-bugs] [Bug 41408] New: llvm-objdump cannot disassemble `i32.const 0` in wasm object file.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 5 23:09:45 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: higuoxing at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190406/c681e186/attachment.html>


More information about the llvm-bugs mailing list