[llvm] [BasicAA][TLI] Local-linkage or non-thread-local globals may not alias errno (PR #170290)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 09:57:49 PST 2025


efriedma-quic wrote:

I guess if everyone uses a call, that's fine...

Unusual/baremetal environments usually end up using -ffreestanding for various reasons.  So we don't really care what happens there, as long as we don't do errno checks with -ffreestanding.  I'm not sure we actually suppress the checks currently, though.

https://github.com/llvm/llvm-project/pull/170290


More information about the llvm-commits mailing list