Skip to content

Commit 9772eb4

Browse files
authored
Remove references to thread sanitizer in Wasm toolchain (#3518)
1 parent 3966ca2 commit 9772eb4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Driver/WebAssemblyToolChains.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,6 @@ toolchains::WebAssembly::constructInvocation(const DynamicLinkJobAction &job,
169169
if (job.getKind() == LinkKind::Executable && context.OI.SelectedSanitizers) {
170170
Arguments.push_back(context.Args.MakeArgString(
171171
"-fsanitize=" + getSanitizerList(context.OI.SelectedSanitizers)));
172-
173-
// The TSan runtime depends on the blocks runtime and libdispatch.
174-
if (context.OI.SelectedSanitizers & SanitizerKind::Thread) {
175-
Arguments.push_back("-lBlocksRuntime");
176-
Arguments.push_back("-ldispatch");
177-
}
178172
}
179173

180174
if (context.Args.hasArg(options::OPT_profile_generate)) {

0 commit comments

Comments
 (0)