Пост #130423 |
сохранен 06.12.2019 19:27
- Редактировать пост
- Печать
- Скачать
-
Сравнить с постом
#
Текст поста
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | go tool compile -S h.go "".Hello STEXT size=81 args=0x0 locals=0x18 0x0000 00000 (h.go:3) TEXT "".Hello(SB), ABIInternal, $24-0 0x0000 00000 (h.go:3) MOVQ (TLS), CX 0x0009 00009 (h.go:3) CMPQ SP, 16(CX) 0x000d 00013 (h.go:3) JLS 74 0x000f 00015 (h.go:3) SUBQ $24, SP 0x0013 00019 (h.go:3) MOVQ BP, 16(SP) 0x0018 00024 (h.go:3) LEAQ 16(SP), BP 0x001d 00029 (h.go:3) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB) 0x001d 00029 (h.go:3) FUNCDATA $1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB) 0x001d 00029 (h.go:3) FUNCDATA $3, gclocals·9fb7f0986f647f17cb53dda1484e0f7a(SB) 0x001d 00029 (h.go:4) PCDATA $2, $0 0x001d 00029 (h.go:4) PCDATA $0, $0 0x001d 00029 (h.go:4) CALL runtime.printlock(SB) 0x0022 00034 (h.go:4) PCDATA $2, $1 0x0022 00034 (h.go:4) LEAQ go.string."Hello world"(SB), AX 0x0029 00041 (h.go:4) PCDATA $2, $0 0x0029 00041 (h.go:4) MOVQ AX, (SP) 0x002d 00045 (h.go:4) MOVQ $11, 8(SP) 0x0036 00054 (h.go:4) CALL runtime.printstring(SB) 0x003b 00059 (h.go:4) CALL runtime.printunlock(SB) 0x0040 00064 (h.go:5) MOVQ 16(SP), BP 0x0045 00069 (h.go:5) ADDQ $24, SP 0x0049 00073 (h.go:5) RET 0x004a 00074 (h.go:5) NOP 0x004a 00074 (h.go:3) PCDATA $0, $-1 0x004a 00074 (h.go:3) PCDATA $2, $-1 0x004a 00074 (h.go:3) CALL runtime.morestack_noctxt(SB) 0x004f 00079 (h.go:3) JMP 0 0x0000 64 48 8b 0c 25 00 00 00 00 48 3b 61 10 76 3b 48 dH..%....H;a.v;H 0x0010 83 ec 18 48 89 6c 24 10 48 8d 6c 24 10 e8 00 00 ...H.l$.H.l$.... 0x0020 00 00 48 8d 05 00 00 00 00 48 89 04 24 48 c7 44 ..H......H..$H.D 0x0030 24 08 0b 00 00 00 e8 00 00 00 00 e8 00 00 00 00 $............... 0x0040 48 8b 6c 24 10 48 83 c4 18 c3 e8 00 00 00 00 eb H.l$.H.......... 0x0050 af . rel 5+4 t=16 TLS+0 rel 30+4 t=8 runtime.printlock+0 rel 37+4 t=15 go.string."Hello world"+0 rel 55+4 t=8 runtime.printstring+0 rel 60+4 t=8 runtime.printunlock+0 rel 75+4 t=8 runtime.morestack_noctxt+0 "".main STEXT size=82 args=0x0 locals=0x18 0x0000 00000 (h.go:7) TEXT "".main(SB), ABIInternal, $24-0 0x0000 00000 (h.go:7) MOVQ (TLS), CX 0x0009 00009 (h.go:7) CMPQ SP, 16(CX) 0x000d 00013 (h.go:7) JLS 75 0x000f 00015 (h.go:7) SUBQ $24, SP 0x0013 00019 (h.go:7) MOVQ BP, 16(SP) 0x0018 00024 (h.go:7) LEAQ 16(SP), BP 0x001d 00029 (h.go:7) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB) 0x001d 00029 (h.go:7) FUNCDATA $1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB) 0x001d 00029 (h.go:7) FUNCDATA $3, gclocals·9fb7f0986f647f17cb53dda1484e0f7a(SB) 0x001d 00029 (h.go:8) PCDATA $2, $0 0x001d 00029 (h.go:8) PCDATA $0, $0 0x001d 00029 (h.go:8) XCHGL AX, AX 0x001e 00030 (h.go:4) CALL runtime.printlock(SB) 0x0023 00035 (h.go:4) PCDATA $2, $1 0x0023 00035 (h.go:4) LEAQ go.string."Hello world"(SB), AX 0x002a 00042 (h.go:4) PCDATA $2, $0 0x002a 00042 (h.go:4) MOVQ AX, (SP) 0x002e 00046 (h.go:4) MOVQ $11, 8(SP) 0x0037 00055 (h.go:4) CALL runtime.printstring(SB) 0x003c 00060 (h.go:4) CALL runtime.printunlock(SB) 0x0041 00065 (<unknown line number>) MOVQ 16(SP), BP 0x0046 00070 (<unknown line number>) ADDQ $24, SP 0x004a 00074 (<unknown line number>) RET 0x004b 00075 (<unknown line number>) NOP 0x004b 00075 (h.go:7) PCDATA $0, $-1 0x004b 00075 (h.go:7) PCDATA $2, $-1 0x004b 00075 (h.go:7) CALL runtime.morestack_noctxt(SB) 0x0050 00080 (h.go:7) JMP 0 0x0000 64 48 8b 0c 25 00 00 00 00 48 3b 61 10 76 3c 48 dH..%....H;a.v<H 0x0010 83 ec 18 48 89 6c 24 10 48 8d 6c 24 10 90 e8 00 ...H.l$.H.l$.... 0x0020 00 00 00 48 8d 05 00 00 00 00 48 89 04 24 48 c7 ...H......H..$H. 0x0030 44 24 08 0b 00 00 00 e8 00 00 00 00 e8 00 00 00 D$.............. 0x0040 00 48 8b 6c 24 10 48 83 c4 18 c3 e8 00 00 00 00 .H.l$.H......... 0x0050 eb ae .. rel 5+4 t=16 TLS+0 rel 31+4 t=8 runtime.printlock+0 rel 38+4 t=15 go.string."Hello world"+0 rel 56+4 t=8 runtime.printstring+0 rel 61+4 t=8 runtime.printunlock+0 rel 76+4 t=8 runtime.morestack_noctxt+0 "".init STEXT size=80 args=0x0 locals=0x8 0x0000 00000 (<autogenerated>:1) TEXT "".init(SB), ABIInternal, $8-0 0x0000 00000 (<autogenerated>:1) MOVQ (TLS), CX 0x0009 00009 (<autogenerated>:1) CMPQ SP, 16(CX) 0x000d 00013 (<autogenerated>:1) JLS 73 0x000f 00015 (<autogenerated>:1) SUBQ $8, SP 0x0013 00019 (<autogenerated>:1) MOVQ BP, (SP) 0x0017 00023 (<autogenerated>:1) LEAQ (SP), BP 0x001b 00027 (<autogenerated>:1) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB) 0x001b 00027 (<autogenerated>:1) FUNCDATA $1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB) 0x001b 00027 (<autogenerated>:1) FUNCDATA $3, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB) 0x001b 00027 (<autogenerated>:1) PCDATA $2, $0 0x001b 00027 (<autogenerated>:1) PCDATA $0, $0 0x001b 00027 (<autogenerated>:1) MOVBLZX "".initdone·(SB), AX 0x0022 00034 (<autogenerated>:1) CMPB AL, $1 0x0025 00037 (<autogenerated>:1) JLS 48 0x0027 00039 (<autogenerated>:1) PCDATA $2, $-2 0x0027 00039 (<autogenerated>:1) PCDATA $0, $-2 0x0027 00039 (<autogenerated>:1) MOVQ (SP), BP 0x002b 00043 (<autogenerated>:1) ADDQ $8, SP 0x002f 00047 (<autogenerated>:1) RET 0x0030 00048 (<autogenerated>:1) JNE 57 0x0032 00050 (<autogenerated>:1) PCDATA $2, $0 0x0032 00050 (<autogenerated>:1) PCDATA $0, $0 0x0032 00050 (<autogenerated>:1) CALL runtime.throwinit(SB) 0x0037 00055 (<autogenerated>:1) UNDEF 0x0039 00057 (<autogenerated>:1) MOVB $2, "".initdone·(SB) 0x0040 00064 (<autogenerated>:1) MOVQ (SP), BP 0x0044 00068 (<autogenerated>:1) ADDQ $8, SP 0x0048 00072 (<autogenerated>:1) RET 0x0049 00073 (<autogenerated>:1) NOP 0x0049 00073 (<autogenerated>:1) PCDATA $0, $-1 0x0049 00073 (<autogenerated>:1) PCDATA $2, $-1 0x0049 00073 (<autogenerated>:1) CALL runtime.morestack_noctxt(SB) 0x004e 00078 (<autogenerated>:1) JMP 0 0x0000 64 48 8b 0c 25 00 00 00 00 48 3b 61 10 76 3a 48 dH..%....H;a.v:H 0x0010 83 ec 08 48 89 2c 24 48 8d 2c 24 0f b6 05 00 00 ...H.,$H.,$..... 0x0020 00 00 80 f8 01 76 09 48 8b 2c 24 48 83 c4 08 c3 .....v.H.,$H.... 0x0030 75 07 e8 00 00 00 00 0f 0b c6 05 00 00 00 00 02 u............... 0x0040 48 8b 2c 24 48 83 c4 08 c3 e8 00 00 00 00 eb b0 H.,$H........... rel 5+4 t=16 TLS+0 rel 30+4 t=15 "".initdone·+0 rel 51+4 t=8 runtime.throwinit+0 rel 59+4 t=15 "".initdone·+-1 rel 74+4 t=8 runtime.morestack_noctxt+0 go.info."".Hello$abstract SDWARFINFO dupok size=11 0x0000 04 2e 48 65 6c 6c 6f 00 01 01 00 ..Hello.... go.string."Hello world" SRODATA dupok size=11 0x0000 48 65 6c 6c 6f 20 77 6f 72 6c 64 Hello world go.loc."".Hello SDWARFLOC size=0 go.info."".Hello SDWARFINFO size=24 0x0000 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0x0010 00 00 00 00 00 01 9c 00 ........ rel 1+4 t=28 go.info."".Hello$abstract+0 rel 5+8 t=1 "".Hello+0 rel 13+8 t=1 "".Hello+81 go.range."".Hello SDWARFRANGE size=0 go.isstmt."".Hello SDWARFMISC size=0 0x0000 04 0f 04 0e 03 05 01 14 02 1b 00 ........... go.loc."".main SDWARFLOC size=0 go.info."".main SDWARFINFO size=60 0x0000 03 22 22 2e 6d 61 69 6e 00 00 00 00 00 00 00 00 ."".main........ 0x0010 00 00 00 00 00 00 00 00 00 01 9c 00 00 00 00 01 ................ 0x0020 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0x0030 00 00 00 00 00 00 00 00 00 08 00 00 ............ rel 9+8 t=1 "".main+0 rel 17+8 t=1 "".main+82 rel 27+4 t=29 gofile../home/ty/h.go+0 rel 33+4 t=28 go.info."".Hello$abstract+0 rel 37+8 t=1 "".main+30 rel 45+8 t=1 "".main+65 rel 53+4 t=29 gofile../home/ty/h.go+0 go.range."".main SDWARFRANGE size=0 go.isstmt."".main SDWARFMISC size=0 0x0000 04 0f 04 0e 05 01 02 05 01 14 02 0a 01 0a 02 07 ................ 0x0010 00 . go.loc."".init SDWARFLOC size=0 go.info."".init SDWARFINFO size=33 0x0000 03 22 22 2e 69 6e 69 74 00 00 00 00 00 00 00 00 ."".init........ 0x0010 00 00 00 00 00 00 00 00 00 01 9c 00 00 00 00 01 ................ 0x0020 00 . rel 9+8 t=1 "".init+0 rel 17+8 t=1 "".init+80 rel 27+4 t=29 gofile..<autogenerated>+0 go.range."".init SDWARFRANGE size=0 go.isstmt."".init SDWARFMISC size=0 0x0000 04 0f 04 0c 03 07 01 05 02 09 01 02 02 0e 01 09 ................ 0x0010 02 07 00 ... "".initdone· SNOPTRBSS size=1 gclocals·33cdeccccebe80329f1fdbee7f5874cb SRODATA dupok size=8 0x0000 01 00 00 00 00 00 00 00 ........ gclocals·9fb7f0986f647f17cb53dda1484e0f7a SRODATA dupok size=10 0x0000 02 00 00 00 01 00 00 00 00 01 .......... |