ramosian-glider / sanitizers

0 stars 0 forks source link

asan should instrument rmw and cmpxchg #75

Closed ramosian-glider closed 9 years ago

ramosian-glider commented 9 years ago

Originally reported on Google Code with ID 74

We don't instrument these tests: 

void example(int *ptr) {
 __sync_fetch_and_add(ptr, 1);
}

void example(int *ptr, int compare_to, int new_value) {
 __sync_val_compare_and_swap(ptr, compare_to, new_value);
}

Reported by konstantin.s.serebryany on 2012-05-29 14:50:46

ramosian-glider commented 9 years ago
LLVM r157683.

Reported by konstantin.s.serebryany on 2012-05-30 09:07:44

ramosian-glider commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Reported by ramosian.glider on 2015-07-30 09:12:59