Last active
August 1, 2023 21:03
-
-
Save andreimatei/fa1575dbfa8e04fb0271d02587a0bdf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cockroach.go121.rc3: file format elf64-x86-64 | |
Disassembly of section .text: | |
0000000002fb8f80 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init>: | |
; github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init(): | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:98 | |
2fb8f80: 49 3b 66 10 cmpq 0x10(%r14), %rsp | |
2fb8f84: 0f 86 38 01 00 00 jbe 0x2fb90c2 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0x142> | |
2fb8f8a: 55 pushq %rbp | |
2fb8f8b: 48 89 e5 movq %rsp, %rbp | |
2fb8f8e: 48 83 ec 38 subq $0x38, %rsp | |
============== ctx is spilled to the stack over the next two instructions ============== | |
2fb8f92: 48 89 5c 24 50 movq %rbx, 0x50(%rsp) | |
2fb8f97: 48 89 4c 24 58 movq %rcx, 0x58(%rsp) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:99 | |
2fb8f9c: 48 89 58 60 movq %rbx, 0x60(%rax) | |
2fb8fa0: 83 3d 59 41 b8 08 00 cmpl $0x0, 0x8b84159(%rip) # 0xbb3d100 <runtime.writeBarrier> | |
2fb8fa7: 74 10 je 0x2fb8fb9 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0x39> | |
2fb8fa9: e8 12 ee 4c fd callq 0x487dc0 <runtime.gcWriteBarrier2> | |
2fb8fae: 49 89 0b movq %rcx, (%r11) | |
2fb8fb1: 48 8b 50 68 movq 0x68(%rax), %rdx | |
2fb8fb5: 49 89 53 08 movq %rdx, 0x8(%r11) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:98 | |
2fb8fb9: 48 89 44 24 48 movq %rax, 0x48(%rsp) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:99 | |
2fb8fbe: 48 89 48 68 movq %rcx, 0x68(%rax) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:100 | |
2fb8fc2: 48 8b 88 80 00 00 00 movq 0x80(%rax), %rcx | |
======= beginning of the second location list; RCX became unavailable just above ========================== | |
2fb8fc9: 48 89 c8 movq %rcx, %rax | |
2fb8fcc: e8 8f 2d 93 fd callq 0x8ebd60 <github.com/cockroachdb/cockroach/pkg/util/timeutil.(*StopWatch).Start> | |
======= end of the 2nd location list; RBX also became unavailable here ===================== | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:103 | |
2fb8fd1: 44 0f 11 7c 24 28 movups %xmm15, 0x28(%rsp) | |
2fb8fd7: 48 8d 0d 22 09 01 00 leaq 0x10922(%rip), %rcx # 0x2fc9900 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).init-fm> | |
2fb8fde: 48 89 4c 24 28 movq %rcx, 0x28(%rsp) | |
2fb8fe3: 48 8b 4c 24 48 movq 0x48(%rsp), %rcx | |
2fb8fe8: 48 89 4c 24 30 movq %rcx, 0x30(%rsp) | |
2fb8fed: 48 8d 44 24 28 leaq 0x28(%rsp), %rax | |
2fb8ff2: e8 a9 af ea fd callq 0xe63fa0 <github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError> | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:105 | |
2fb8ff7: 48 89 44 24 10 movq %rax, 0x10(%rsp) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:195 | |
2fb8ffc: 48 89 5c 24 20 movq %rbx, 0x20(%rsp) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:104 | |
2fb9001: 48 8b 4c 24 48 movq 0x48(%rsp), %rcx | |
2fb9006: 48 8b 91 80 00 00 00 movq 0x80(%rcx), %rdx | |
2fb900d: 48 89 d0 movq %rdx, %rax | |
2fb9010: e8 ab 2e 93 fd callq 0x8ebec0 <github.com/cockroachdb/cockroach/pkg/util/timeutil.(*StopWatch).Stop> | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:105 | |
2fb9015: 48 8b 4c 24 10 movq 0x10(%rsp), %rcx | |
2fb901a: 66 0f 1f 44 00 00 nopw (%rax,%rax) | |
2fb9020: 48 85 c9 testq %rcx, %rcx | |
2fb9023: 0f 85 82 00 00 00 jne 0x2fb90ab <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0x12b> | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:109 | |
2fb9029: 48 8b 4c 24 48 movq 0x48(%rsp), %rcx | |
2fb902e: 48 c7 41 60 00 00 00 00 movq $0x0, 0x60(%rcx) | |
2fb9036: 83 3d c3 40 b8 08 00 cmpl $0x0, 0x8b840c3(%rip) # 0xbb3d100 <runtime.writeBarrier> | |
2fb903d: 74 0c je 0x2fb904b <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0xcb> | |
2fb903f: 48 8b 51 68 movq 0x68(%rcx), %rdx | |
2fb9043: e8 58 ed 4c fd callq 0x487da0 <runtime.gcWriteBarrier1> | |
2fb9048: 49 89 13 movq %rdx, (%r11) | |
2fb904b: 48 c7 41 68 00 00 00 00 movq $0x0, 0x68(%rcx) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:110 | |
2fb9053: 48 8d 51 40 leaq 0x40(%rcx), %rdx | |
; /home/andrei/sdk/go1.21rc3/src/sync/mutex.go:83 | |
2fb9057: 31 c0 xorl %eax, %eax | |
2fb9059: be 01 00 00 00 movl $0x1, %esi | |
2fb905e: f0 lock | |
2fb905f: 0f b1 71 40 cmpxchgl %esi, 0x40(%rcx) | |
2fb9063: 40 0f 94 c6 sete %sil | |
2fb9067: 40 84 f6 testb %sil, %sil | |
2fb906a: 75 17 jne 0x2fb9083 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0x103> | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:110 | |
2fb906c: 48 89 54 24 18 movq %rdx, 0x18(%rsp) | |
; /home/andrei/sdk/go1.21rc3/src/sync/mutex.go:90 | |
2fb9071: 48 89 d0 movq %rdx, %rax | |
2fb9074: e8 47 a1 4d fd callq 0x4931c0 <sync.(*Mutex).lockSlow> | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:113 | |
2fb9079: 48 8b 4c 24 48 movq 0x48(%rsp), %rcx | |
; /home/andrei/sdk/go1.21rc3/src/sync/mutex.go:223 | |
2fb907e: 48 8b 54 24 18 movq 0x18(%rsp), %rdx | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:113 | |
2fb9083: c6 41 48 01 movb $0x1, 0x48(%rcx) | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:114 | |
2fb9087: 90 nop | |
; /home/andrei/sdk/go1.21rc3/src/sync/mutex.go:219 | |
2fb9088: bb ff ff ff ff movl $0xffffffff, %ebx # imm = 0xFFFFFFFF | |
2fb908d: f0 lock | |
2fb908e: 0f c1 59 40 xaddl %ebx, 0x40(%rcx) | |
2fb9092: ff cb decl %ebx | |
; /home/andrei/sdk/go1.21rc3/src/sync/mutex.go:220 | |
2fb9094: 85 db testl %ebx, %ebx | |
2fb9096: 74 0d je 0x2fb90a5 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0x125> | |
; /home/andrei/sdk/go1.21rc3/src/sync/mutex.go:223 | |
2fb9098: 48 89 d0 movq %rdx, %rax | |
2fb909b: 0f 1f 44 00 00 nopl (%rax,%rax) | |
2fb90a0: e8 fb a3 4d fd callq 0x4934a0 <sync.(*Mutex).unlockSlow> | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:115 | |
2fb90a5: 48 83 c4 38 addq $0x38, %rsp | |
2fb90a9: 5d popq %rbp | |
2fb90aa: c3 retq | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:106 | |
2fb90ab: 90 nop | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:195 | |
2fb90ac: 74 0e je 0x2fb90bc <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0x13c> | |
2fb90ae: 48 8b 41 08 movq 0x8(%rcx), %rax | |
2fb90b2: 48 8b 5c 24 20 movq 0x20(%rsp), %rbx | |
2fb90b7: e8 44 7e 49 fd callq 0x450f00 <runtime.gopanic> | |
2fb90bc: 48 89 c8 movq %rcx, %rax | |
2fb90bf: 90 nop | |
2fb90c0: eb f0 jmp 0x2fb90b2 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init+0x132> | |
; /home/andrei/src/github.com/cockroachdb/cockroach/pkg/sql/colflow/stats.go:98 | |
2fb90c2: 48 89 44 24 08 movq %rax, 0x8(%rsp) | |
2fb90c7: 48 89 5c 24 10 movq %rbx, 0x10(%rsp) | |
2fb90cc: 48 89 4c 24 18 movq %rcx, 0x18(%rsp) | |
2fb90d1: e8 0a ce 4c fd callq 0x485ee0 <runtime.morestack_noctxt.abi0> | |
2fb90d6: 48 8b 44 24 08 movq 0x8(%rsp), %rax | |
2fb90db: 48 8b 5c 24 10 movq 0x10(%rsp), %rbx | |
2fb90e0: 48 8b 4c 24 18 movq 0x18(%rsp), %rcx | |
2fb90e5: e9 96 fe ff ff jmp 0x2fb8f80 <github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Init> | |
2fb90ea: cc int3 | |
2fb90eb: cc int3 | |
2fb90ec: cc int3 | |
2fb90ed: cc int3 | |
2fb90ee: cc int3 | |
2fb90ef: cc int3 | |
2fb90f0: cc int3 | |
2fb90f1: cc int3 | |
2fb90f2: cc int3 | |
2fb90f3: cc int3 | |
2fb90f4: cc int3 | |
2fb90f5: cc int3 | |
2fb90f6: cc int3 | |
2fb90f7: cc int3 | |
2fb90f8: cc int3 | |
2fb90f9: cc int3 | |
2fb90fa: cc int3 | |
2fb90fb: cc int3 | |
2fb90fc: cc int3 | |
2fb90fd: cc int3 | |
2fb90fe: cc int3 | |
2fb90ff: cc int3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment