[clang] [compiler-rt] Realtime Sanitizer: Introduce RADSan backend (PR #92460)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 14:47:28 PDT 2024


================
@@ -1382,6 +1382,10 @@ collectSanitizerRuntimes(const ToolChain &TC, const ArgList &Args,
       StaticRuntimes.push_back("asan_cxx");
   }
 
+  if (!SanArgs.needsSharedRt() && SanArgs.needsRadsanRt()) {
+    StaticRuntimes.push_back("radsan");
+  }
----------------
cjappl wrote:

One question we have here: What is the SharedRuntimes vs StaticRuntimes? Why would we need to support both? This is one change we "eyeballed" based on the other sanitizers.

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


More information about the llvm-commits mailing list