[clang] [clang][rtsan] Introduce realtime sanitizer codegen and driver (PR #102622)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 18 19:23:57 PDT 2024
================
@@ -845,6 +845,15 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
if (SanOpts.has(SanitizerKind::ShadowCallStack))
Fn->addFnAttr(llvm::Attribute::ShadowCallStack);
+ if (SanOpts.has(SanitizerKind::Realtime)) {
----------------
MaskRay wrote:
remove braces per https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements
https://github.com/llvm/llvm-project/pull/102622
More information about the cfe-commits
mailing list