[llvm-branch-commits] [clang] [llvm] [TySan] A Type Sanitizer (Clang) (PR #76260)

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 6 03:51:16 PST 2024


================
@@ -1441,8 +1441,10 @@ collectSanitizerRuntimes(const ToolChain &TC, const ArgList &Args,
     if (SanArgs.needsScudoRt()) {
       SharedRuntimes.push_back("scudo_standalone");
     }
-    if (SanArgs.needsTsanRt())
+    if (SanArgs.needsTsanRt() && SanArgs.linkRuntimes())
       SharedRuntimes.push_back("tsan");
+    if (SanArgs.needsTysanRt())
+      StaticRuntimes.push_back("tysan");
----------------
fhahn wrote:

Fixed, thanks!

https://github.com/llvm/llvm-project/pull/76260


More information about the llvm-branch-commits mailing list