[PATCH] D36810: Minimal runtime for UBSan.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 26 11:44:14 PDT 2017
vitalybuka accepted this revision.
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cc:29
+
+ if (sz == kMaxCallerPcs) message("ubsan: too many errors\n");
+ if (sz >= kMaxCallerPcs) return false;
----------------
Could this be at line 20
if (sz == kMaxCallerPcs - 1) message("ubsan: too many errors\n");
if (sz >= kMaxCallerPcs - 1) return false;
https://reviews.llvm.org/D36810
More information about the llvm-commits
mailing list