[llvm-bugs] [Bug 41566] New: webassembly: support multi-value extension

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 23 05:42:43 PDT 2019


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

            Bug ID: 41566
           Summary: webassembly: support multi-value extension
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mail at joachim-breitner.de
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org

The WebAssembly multi-value Proposal
(https://github.com/WebAssembly/multi-value) is on a good track to be accepted,
and projects like wabt and V8 already support it.

I am generating such code, and I want to make the output of my tools likable as
per
https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md#linking-metadata-section

It seems that lld is the only implementation of that spec, but currently chokes
if it sees a function with more than one return value (lld-9: error: Multiple
return types not supported).

This error message actually comes from a file in the llvm repo
(https://github.com/llvm-mirror/llvm/blob/b33e0bfbd762ba777e67ba50496cbcbc5a970581/lib/Object/WasmObjectFile.cpp#L887);
I am still reporting this against lld as that is the product I care about as a
user here.

-- 
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/20190423/96e3eb82/attachment.html>


More information about the llvm-bugs mailing list