[Openmp-commits] [compiler-rt] [openmp] [OpenMP][Archer][TSan] Use TSan fibers to implement task-centric analysis for OpenMP tasks (PR #74646)

Vitaly Buka via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 6 15:16:52 PST 2023


================
@@ -801,6 +801,7 @@ void FuncExit(ThreadState *thr) {
 #if !SANITIZER_GO
   DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end);
 #endif
+  CHECK_GT(thr->shadow_stack_pos, thr->shadow_stack);
----------------
vitalybuka wrote:

This place is to hot for CHECK, and we have DCHECK already

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


More information about the Openmp-commits mailing list