[llvm-bugs] [Bug 39158] New: wasm32: Invalid wasm generated when debuginfo related
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 2 20:36:20 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39158
Bug ID: 39158
Summary: wasm32: Invalid wasm generated when debuginfo related
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: WebAssembly
Assignee: unassignedbugs at nondot.org
Reporter: alex at crichton.co
CC: dan433584 at gmail.com, llvm-bugs at lists.llvm.org
Created attachment 20952
--> https://bugs.llvm.org/attachment.cgi?id=20952&action=edit
Failing IR
I was recently trying to upgrade LLVM in rust-lang/rust but hit some bugs when
testing a community crate on the wasm backend. Specifically if the compiled IR
is attached and validated it fails to validate:
$ llc foo.ll-O2 -filetype=obj -o foo.o
$ wasm2wat foo.o
foo.o:0000086: error: type mismatch in i32.eqz, expected [i32] but got []
foo.o:00000a0: error: type mismatch in function, expected [] but got [i32]
--
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/20181003/cdbca740/attachment.html>
More information about the llvm-bugs
mailing list