[llvm] r245996 - WebAssembly: add small FIXME for AsmPrinter.

JF Bastien via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 10:22:09 PDT 2015


On Wed, Aug 26, 2015 at 6:50 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> Please don't do this. It shouldn't be too hard to add logic so that
> the asm printer knows there is not .globl.
>

I'm not sure I understand what you're proposing I do (or avoid doing)
exactly. Could you elaborate?

BTW, does WebAssembly have the notion of a local function? What about
> weak? If there is no support for weak, probably the correct thing to
> do is error if you ever see a weak GV.
>

This is still in flux. Tentatively there are no anonymous functions, they
all have to be at the top of a module. They can be local to a module, since
there's no dynamic linking for now (it will be added in the near future). I
want to wait for dynamic linking to be fully designed before deciding what
the correct thing to do is: right now I want to get the basics working.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150826/0686df95/attachment.html>


More information about the llvm-commits mailing list