jfb added a subscriber: pcc.
jfb added a comment.

> I guess there's a more general issue here which is that LLVM appears to be 
> more permissive about prototype mismatch than wasm. Specifically, I'm 
> thinking about how swifterror relies on being able to pass extra parameters 
> to a function that doesn't expect them and not get UB. I guess as long as 
> LLVM doesn't introduce any prototype mismatch during optimization, that's OK, 
> but this seems like it would be a real problem if we ever wanted to port 
> swift to wasm.


Yeah @dschuff, @sunfish and I were also talking about `__cxa_pure_virtual` 
being in the same signature-type-mismatch category. I wonder if this also makes 
CFI sad, /cc @pcc.


http://reviews.llvm.org/D19275



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to