[llvm-dev] will Prefix Data be supported on the WebAssembly target?

Andrew Kelley via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 2 18:40:45 PDT 2019


I used this feature (http://llvm.org/docs/LangRef.html#prefix-data) in
the Zig frontend for something, but when the target architecture is
wasm32, it generates:

LLVM ERROR: function sections must contain one function each

There is already a bug report for it, but it does not seem to have much
attention given to it:

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

Is this something that is fundamentally not possible on the WebAssembly
target? Or is this something that simply needs an implementation? If so,
has anyone started working on it?

Regards,
Andrew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190902/92bd4b54/attachment.sig>


More information about the llvm-dev mailing list