[llvm] [llvm][rtsan] Add transform pass for sanitize_realtime_unsafe (PR #109543)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 09:14:27 PDT 2024
================
@@ -0,0 +1,19 @@
+; RUN: opt < %s -passes=rtsan -S | FileCheck %s
+
+define void @_Z17blocking_functionv() #0 {
+ ret void
+}
+
+define noundef i32 @main() #2 {
+ call void @_Z17blocking_functionv() #4
+ ret i32 0
+}
+
+attributes #0 = { mustprogress noinline sanitize_realtime_unsafe optnone ssp uwtable(sync) }
----------------
cjappl wrote:
Thanks for confirming
https://github.com/llvm/llvm-project/pull/109543
More information about the llvm-commits
mailing list