[clang] [sanitizer] Add plumbing for -fsanitize-add-pseudo-functions and partly replace '-mllvm -array-bounds-pseudofn' (PR #138577)
Florian Mayer via cfe-commits
cfe-commits at lists.llvm.org
Mon May 5 13:38:18 PDT 2025
================
@@ -1228,7 +1228,10 @@ void CodeGenFunction::EmitBoundsCheckImpl(const Expr *E, llvm::Value *Bound,
SanitizerScope SanScope(this);
llvm::DILocation *CheckDI = Builder.getCurrentDebugLocation();
- if (ClArrayBoundsPseudoFn && CheckDI) {
+ if ((ClArrayBoundsPseudoFn ||
----------------
fmayer wrote:
Add TODO to clean up mllvm flag
https://github.com/llvm/llvm-project/pull/138577
More information about the cfe-commits
mailing list