Sirraide wrote:

I mean, my reasoning was that it is a bit strange to have a builtin that just 
fails to link, but I guess if the idea really is less ‘abort the program’ and 
more ‘call C `abort()`’, then yes, this probably works as intended. 

I’m not sure if we have a model for what should happen if `__builtin_abort()` 
is used on a platform where `abort()` does not exist? Do we just assume that 
can’t happen?

https://github.com/llvm/llvm-project/pull/243600
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to