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

Nicholas Wilson <n...@realvnc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
                 CC|                            |n...@realvnc.com
             Status|NEW                         |RESOLVED

--- Comment #3 from Nicholas Wilson <n...@realvnc.com> ---
I've worked it out - it's INVALID, my bad.

I was confused because the ".o" Wasm files don't appear right. Indeed they're
not right, what I hadn't realised is that relocations are used to clear up the
problem at link time. I hadn't realised that all function indices in Wasm refer
to the same index space, so a single-index relocation is able to redirect a
call between exported/imported/defined functions.

There *is* still a problem with weak symbols causing duplicate names to be
written out, as illustrated by the following testcase, but I'll sort that in
another review request.

-- 
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

Reply via email to