nikic wrote:

Opened https://github.com/llvm/llvm-project/pull/200367 to make use of the 
struct TBAA

> That seems reasonable, even though most operator new impls use malloc under 
> the hood, it's unlikely anyone calling new is ever going to caring about the 
> errno impact :D

Dropping the `errnomem: write` would be another option, which would avoid this 
issue entirely. We did recently add this to malloc though, so we should 
probably at least try to respect it for new, though the case is weaker there...

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

Reply via email to