[llvm] [llvm][rtsan] Add transform pass for sanitize_realtime_unsafe (PR #109543)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 06:58:27 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;
+}
----------------
cjappl wrote:
nit: I'm not sure this helper is totally necessary to have, it may be clearer to just be in the source directly
https://github.com/llvm/llvm-project/pull/109543
More information about the llvm-commits
mailing list