Skip to content

Commit d967fde

Browse files
zhuoweikateinoigakukun
authored andcommitted
remove the older dwarf5 and atomics patch
1 parent 8d1f660 commit d967fde

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/IRGen/IRGen.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ swift::getIRTargetOptions(const IRGenOptions &Opts, ASTContext &Ctx) {
162162
// Explicitly request debugger tuning for LLDB which is the default
163163
// on Darwin platforms but not on others.
164164
TargetOpts.DebuggerTuning = llvm::DebuggerKind::LLDB;
165-
166-
// WebAssembly HACK: disable atomics
167-
if (Ctx->LangOpts.Target.isOSBinFormatWasm()) {
168-
TargetOpts.ThreadModel = llvm::ThreadModel::Single;
169-
}
170165
TargetOpts.FunctionSections = Opts.FunctionSections;
171166

172167
auto *Clang = static_cast<ClangImporter *>(Ctx.getClangModuleLoader());

0 commit comments

Comments
 (0)