Merge commit e24f90190c77 from llvm git (by Brad Smith):

[Driver] Enable outline atomics for FreeBSD/aarch64 (#156089)

The compiler_rt helper functions have been built since 12.4, 13.1, 14
and anything newer.

MFC after:	3 days
This commit is contained in:
Dimitry Andric
2025-10-29 19:49:54 +01:00
parent 3bbdc0223a
commit 51e8e8b0f3
@@ -78,6 +78,11 @@ class LLVM_LIBRARY_VISIBILITY FreeBSD : public Generic_ELF {
void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args) const override;
bool IsAArch64OutlineAtomicsDefault(
const llvm::opt::ArgList &Args) const override {
return true;
}
UnwindTableLevel
getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override;
bool isPIEDefault(const llvm::opt::ArgList &Args) const override;