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
| .text .file "main.cpp" .globl main // -- Begin function main .p2align 2 .type main,@function main: // @main .cfi_startproc // %bb.0: stp x29, x30, [sp, #-32]! // 16-byte Folded Spill str x19, [sp, #16] // 8-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 32 .cfi_offset w19, -16 .cfi_offset w30, -24 .cfi_offset w29, -32 adrp x19, :got:_ZSt4cout ldr x19, [x19, :got_lo12:_ZSt4cout] adrp x1, .L.str add x1, x1, :lo12:.L.str mov w2, #18 mov x0, x19 bl _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l ldr x8, [x19] ldur x8, [x8, #-24] add x8, x8, x19 ldr x19, [x8, #240] cbz x19, .LBB0_5 // %bb.1: ldrb w8, [x19, #56] cbz w8, .LBB0_3 // %bb.2: ldrb w1, [x19, #67] b .LBB0_4 .LBB0_3: mov x0, x19 bl _ZNKSt5ctypeIcE13_M_widen_initEv ldr x8, [x19] mov w1, #10 mov x0, x19 ldr x8, [x8, #48] blr x8 mov w1, w0 .LBB0_4: adrp x0, :got:_ZSt4cout ldr x0, [x0, :got_lo12:_ZSt4cout] bl _ZNSo3putEc bl _ZNSo5flushEv ldr x19, [sp, #16] // 8-byte Folded Reload mov w0, wzr ldp x29, x30, [sp], #32 // 16-byte Folded Reload ret .LBB0_5: bl _ZSt16__throw_bad_castv .Lfunc_end0: .size main, .Lfunc_end0-main .cfi_endproc // -- End function .section .text.startup,"ax",@progbits .p2align 2 // -- Begin function _GLOBAL__sub_I_main.cpp .type _GLOBAL__sub_I_main.cpp,@function _GLOBAL__sub_I_main.cpp: // @_GLOBAL__sub_I_main.cpp .cfi_startproc // %bb.0: stp x29, x30, [sp, #-32]! // 16-byte Folded Spill str x19, [sp, #16] // 8-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 32 .cfi_offset w19, -16 .cfi_offset w30, -24 .cfi_offset w29, -32 adrp x19, _ZStL8__ioinit add x19, x19, :lo12:_ZStL8__ioinit mov x0, x19 bl _ZNSt8ios_base4InitC1Ev adrp x0, :got:_ZNSt8ios_base4InitD1Ev ldr x0, [x0, :got_lo12:_ZNSt8ios_base4InitD1Ev] mov x1, x19 ldr x19, [sp, #16] // 8-byte Folded Reload adrp x2, __dso_handle add x2, x2, :lo12:__dso_handle ldp x29, x30, [sp], #32 // 16-byte Folded Reload b __cxa_atexit .Lfunc_end1: .size _GLOBAL__sub_I_main.cpp, .Lfunc_end1-_GLOBAL__sub_I_main.cpp .cfi_endproc // -- End function .type _ZStL8__ioinit,@object // @_ZStL8__ioinit .local _ZStL8__ioinit .comm _ZStL8__ioinit,1,1 .hidden __dso_handle .type .L.str,@object // @.str .section .rodata.str1.1,"aMS",@progbits,1 .L.str: .asciz "Now Disable Module" // 关键在这里 .size .L.str, 19
.section .init_array,"aw",@init_array .p2align 3 .xword _GLOBAL__sub_I_main.cpp .ident "clang version 13.0.1" .section ".note.GNU-stack","",@progbits .addrsig .addrsig_sym _GLOBAL__sub_I_main.cpp .addrsig_sym _ZStL8__ioinit .addrsig_sym __dso_handle .addrsig_sym _ZSt4cout
|