ojhunt wrote:

> I think it would make sense to say that anything using struct TBAA cannot 
> alias errno? Even if the member happens to be an int. (As usual, this may be 
> slightly iffy when it comes to libc LTO, where errno might be part of a 
> struct.)

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

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