<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - webassembly: support multi-value extension"
href="https://bugs.llvm.org/show_bug.cgi?id=41566">41566</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>webassembly: support multi-value extension
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mail@joachim-breitner.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, peter.smith@linaro.org
</td>
</tr></table>
<p>
<div>
<pre>The WebAssembly multi-value Proposal
(<a href="https://github.com/WebAssembly/multi-value">https://github.com/WebAssembly/multi-value</a>) 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
<a href="https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md#linking-metadata-section">https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md#linking-metadata-section</a>
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
(<a href="https://github.com/llvm-mirror/llvm/blob/b33e0bfbd762ba777e67ba50496cbcbc5a970581/lib/Object/WasmObjectFile.cpp#L887">https://github.com/llvm-mirror/llvm/blob/b33e0bfbd762ba777e67ba50496cbcbc5a970581/lib/Object/WasmObjectFile.cpp#L887</a>);
I am still reporting this against lld as that is the product I care about as a
user here.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>