[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

Chris Apple via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 23 14:07:58 PDT 2024


================
@@ -1410,6 +1414,35 @@ QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD,
   return ResTy;
 }
 
+void InsertCallBeforeInstruction(llvm::Function *Fn,
----------------
cjappl wrote:

> Also maybe I missed some discussion. these changes looks like better be done by llvm pass.

Nope, this is just us not knowing what we don't know!

Any thoughts as to where this may live in that step? I'm unfamiliar with where it might be appropriate. Pointing to a general file or something to grep for would be greatly appreciated! Thanks Vitaly.


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


More information about the cfe-commits mailing list