Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : ignore some local variables from xbt/ex.c for stack comparison
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Wed, 31 Oct 2012 20:37:46 +0000 (21:37 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Wed, 7 Nov 2012 15:59:31 +0000 (16:59 +0100)
src/simix/smx_process.c

index 6a3ca37..b1db2f4 100644 (file)
@@ -710,8 +710,12 @@ void SIMIX_process_yield(smx_process_t self)
     SMX_THROW();
   }
 
     SMX_THROW();
   }
 
-  if(MC_is_active())
+  /* Ignore some local variables from xbt/ex.c" */
+  if(MC_is_active()){
     MC_ignore_stack("ctx", "SIMIX_process_yield");
     MC_ignore_stack("ctx", "SIMIX_process_yield");
+    MC_ignore_stack("_throw_ctx", "SIMIX_process_yield");
+    MC_ignore_stack("_log_ev", "SIMIX_process_yield");
+  }
 }
 
 /* callback: context fetching */
 }
 
 /* callback: context fetching */