mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
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:
parent
6fd4d3b541
commit
10fb98e91f
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user