Lines Matching refs:sls_guard_var
101 int sls_guard_var __attribute__((guarded_var)) = 0;
123 int x = sls_guard_var;
129 sls_guard_var = 2;
135 sls_guard_var = 2;
436 sls_guard_var = 1; // \
437 // expected-warning{{writing variable 'sls_guard_var' requires locking any mutex exclusively}}
441 int x = sls_guard_var; // \
442 // expected-warning{{reading variable 'sls_guard_var' requires locking any mutex}}
482 sls_guard_var++; // \
483 // expected-warning{{writing variable 'sls_guard_var' requires locking any mutex exclusively}}
484 sls_guard_var--; // \
485 // expected-warning{{writing variable 'sls_guard_var' requires locking any mutex exclusively}}
486 ++sls_guard_var; // \
487 // expected-warning{{writing variable 'sls_guard_var' requires locking any mutex exclusively}}
488 --sls_guard_var;// \
489 // expected-warning{{writing variable 'sls_guard_var' requires locking any mutex exclusively}}