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: unassignedb...@nondot.org
Reporter: a...@crichton.co
CC: dan433...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs