Sam Clegg
Sam Clegg
This ended up be a followup to #6577 instead.
> I think this is worth fixing. Safe-heap builds can afford to be a little larger and slower, even if this particular corner case is very rare. Sure but isn't...
> The overhead is significant I'm guessing, but not double. A typical safe-heap method here is 18 instructions, and this adds 5. But much of the overhead is likely in...
Should we land this?
I don't have a strong opinion.. just trying to close some issues :)
Can you perhaps mention in the title and/or description that this change relates specifically the libc++abi? (Perhaps prefix the title with `[libc++abi]`)
Your JS code looks like it is setting the first 10 bytes of memory, which is almost certainly not what you want to be doing. You need to find a...
Yes, you should call `malloc` to get your memory region. It doesn't matter if the memory is imported or exported, both sides (Wasm and JS) still need to agree on...
> > You can't have static data that the linker does know about (at least not without using dyanmic linking which is probably not what you want). > > If...
> > In C/C++ there is just one memory. > > Yes, this would be my assumption. But if that's the case, I don't understand, what's the difference between exporting...