Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dvyukov/11fac2aba443ec2206648055c9e5d5a1 to your computer and use it in GitHub Desktop.
Save dvyukov/11fac2aba443ec2206648055c9e5d5a1 to your computer and use it in GitHub Desktop.
00000000004b9af0 <_ZN6__tsan16TraceMutexUnlockEPNS_11ThreadStateEm>:
4b9af0: 41 56 push %r14
4b9af2: 53 push %rbx
4b9af3: 50 push %rax
4b9af4: 48 89 f3 mov %rsi,%rbx
4b9af7: 49 89 fe mov %rdi,%r14
4b9afa: 48 8b 47 18 mov 0x18(%rdi),%rax
4b9afe: 8d 48 08 lea 0x8(%rax),%ecx
4b9b01: f7 c1 f0 0f 00 00 test $0xff0,%ecx
4b9b07: 74 1b je 4b9b24 <_ZN6__tsan16TraceMutexUnlockEPNS_11ThreadStateEm+0x34>
4b9b09: 48 c1 e3 14 shl $0x14,%rbx
4b9b0d: 48 83 cb 10 or $0x10,%rbx
4b9b11: 48 89 18 mov %rbx,(%rax)
4b9b14: 48 83 c0 08 add $0x8,%rax
4b9b18: 49 89 46 18 mov %rax,0x18(%r14)
4b9b1c: 48 83 c4 08 add $0x8,%rsp
4b9b20: 5b pop %rbx
4b9b21: 41 5e pop %r14
4b9b23: c3 ret
4b9b24: 4c 89 f7 mov %r14,%rdi
4b9b27: e8 04 da ff ff call 4b7530 <_ZN6__tsan15TraceSwitchPartEPNS_11ThreadStateE>
4b9b2c: 49 8b 46 18 mov 0x18(%r14),%rax
4b9b30: 8d 48 08 lea 0x8(%rax),%ecx
4b9b33: f7 c1 f0 0f 00 00 test $0xff0,%ecx
4b9b39: 75 ce jne 4b9b09 <_ZN6__tsan16TraceMutexUnlockEPNS_11ThreadStateEm+0x19>
4b9b3b: 31 c0 xor %eax,%eax
4b9b3d: eb ca jmp 4b9b09 <_ZN6__tsan16TraceMutexUnlockEPNS_11ThreadStateEm+0x19>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment