[llvm] Rtsan/blocking 2 llvm pass (PR #109543)

Chris Apple via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 22 06:35:46 PDT 2024


================
@@ -45,6 +46,26 @@ static void insertCallAtAllFunctionExitPoints(Function &Fn,
         insertCallBeforeInstruction(Fn, I, InsertFnName);
 }
 
+static PreservedAnalyses rtsanPreservedCFGAnalyses() {
+  PreservedAnalyses PA;
+  PA.preserveSet<CFGAnalyses>();
+  return PA;
+}
+
+static void insertNotifyBlockingCallAtFunctionEntryPoint(Function &F) {
----------------
cjappl wrote:

In the other function, this param is called "Fn" (for better or worse, but I think it would be good to be self consistent) 

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


More information about the llvm-commits mailing list