Skip to content

Instantly share code, notes, and snippets.

@dryman
Created March 29, 2017 04:59
Show Gist options
  • Save dryman/5382d86860d4912edc359e6c31e50122 to your computer and use it in GitHub Desktop.
Save dryman/5382d86860d4912edc359e6c31e50122 to your computer and use it in GitHub Desktop.
heap->occupy_bmap[0] = 0x01;
/* becomes
598 .loc 2 134 3 is_stmt 1 ## lookup_helper_test.c:134:3
599 leaq 72(%r13), %rsi
600 .loc 2 134 24 is_stmt 0 ## lookup_helper_test.c:134:24
601 movq $1, -56(%rbp)
602 leaq -56(%rbp), %rdx
603 movl $8, %edi
604 movl $5, %ecx
605 callq ___atomic_store
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment