File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ class LLVM_LIBRARY_VISIBILITY OpenBSD : public Generic_ELF {
79
79
void AddCXXStdlibLibArgs (const llvm::opt::ArgList &Args,
80
80
llvm::opt::ArgStringList &CmdArgs) const override ;
81
81
82
+ bool IsAArch64OutlineAtomicsDefault (
83
+ const llvm::opt::ArgList &Args) const override {
84
+ return true ;
85
+ }
86
+
82
87
std::string getCompilerRT (const llvm::opt::ArgList &Args, StringRef Component,
83
88
FileType Type = ToolChain::FT_Static,
84
89
bool IsFortran = false ) const override ;
Original file line number Diff line number Diff line change 45
45
// RUN: -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-OUTLINE-ATOMICS-OFF %s
46
46
47
47
// RUN: %clang --target=aarch64-unknown-openbsd -rtlib=compiler-rt \
48
- // RUN: -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-OUTLINE-ATOMICS-OFF %s
48
+ // RUN: -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-OUTLINE-ATOMICS-ON %s
49
49
50
50
// RUN: %clang --target=aarch64-linux-gnu -rtlib=libgcc \
51
51
// RUN: --gcc-toolchain=%S/Inputs/aarch64-linux-gnu-tree/gcc-10 \
You can’t perform that action at this time.
0 commit comments