Skip to content

Commit 586ff07

Browse files
Merge pull request #5456 from swiftwasm/katei/revert-dwarf-change
[wasm] Revert DWARF change in IRGen
2 parents 4acc199 + 097ede1 commit 586ff07

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/IRGen/IRGen.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,8 @@ swift::getIRTargetOptions(const IRGenOptions &Opts, ASTContext &Ctx) {
132132

133133
// WebAssembly doesn't support atomics yet, see
134134
// https://github.com/apple/swift/issues/54533 for more details.
135-
if (Clang->getTargetInfo().getTriple().isOSBinFormatWasm()) {
136-
TargetOpts.DebuggerTuning = llvm::DebuggerKind::Default;
135+
if (Clang->getTargetInfo().getTriple().isOSBinFormatWasm())
137136
TargetOpts.ThreadModel = llvm::ThreadModel::Single;
138-
}
139137

140138
if (Opts.EnableGlobalISel) {
141139
TargetOpts.EnableGlobalISel = true;

0 commit comments

Comments
 (0)