================
@@ -1486,7 +1486,16 @@ void SanitizerArgs::addArgs(const ToolChain &TC, const
llvm::opt::ArgList &Args,
if (Sanitizers.empty())
return;
- CmdArgs.push_back(Args.MakeArgString("-fsanitize=" + toString(Sanitizers)));
+
+ // The concurrency sampler re-uses the thread sanitizer instrumentation. We
+ // lower it to `-fsanitize=thread` but the driver selects a differnt runtime.
----------------
melver wrote:
s/differnt/different/
https://github.com/llvm/llvm-project/pull/207712
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits