drd/tests/annotate_trace_memory: Make this test more ARM/PPC friendly (#318643)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13406
This commit is contained in:
Bart Van Assche 2013-05-22 16:30:29 +00:00
parent 6fd4d3b541
commit 10fb98e91f

View File

@ -32,10 +32,10 @@ int main(int argc, char** argv)
i16++;
fprintf(stderr, "uint32_t\n");
i32 = 8;
__sync_add_and_fetch(&i32, 1);
i32++;
fprintf(stderr, "uint64_t\n");
i64 = 9;
__sync_add_and_fetch(&i64, 0x12345678ULL);
i64 += 0x12345678ULL;
DRD_STOP_TRACING_VAR(f);
DRD_STOP_TRACING_VAR(d);