[llvm] [BasicAA][TLI] Treat local-linkage globals or known environments as not aliasing errno (PR #170290)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 07:44:25 PST 2025


antoniofrighetto wrote:

> > I believe the only way to infer -ffreestanding is from the target triple. From https://clang.llvm.org/docs/CrossCompilation.html:
> 
> Can you not just check for the `"no-builtins"` attribute?

Done, thanks, hopefully should be on track now.

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


More information about the llvm-commits mailing list