Select Git revision
constructors-02.cpp
stack-02.s 13.09 KiB
.file "stack-02.c"
.text
.Ltext0:
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "c = %d\n"
.text
.globl main
.type main, @function
main:
.LFB11:
.file 1 "stack-02.c"
.loc 1 5 1 view -0
.cfi_startproc
subq $8, %rsp
.cfi_def_cfa_offset 16
.loc 1 6 3 view .LVU1
.LVL0:
.loc 1 7 3 view .LVU2
.loc 1 8 3 view .LVU3
.loc 1 8 11 is_stmt 0 view .LVU4
movl $9, %esi
movl $3, %edi
call sum@PLT
.LVL1:
.loc 1 9 3 is_stmt 1 view .LVU5
movl %eax, %esi
leaq .LC0(%rip), %rdi
movl $0, %eax
.LVL2:
.loc 1 9 3 is_stmt 0 view .LVU6
call printf@PLT
.LVL3:
.loc 1 10 3 is_stmt 1 view .LVU7
.loc 1 11 1 is_stmt 0 view .LVU8
movl $0, %eax
addq $8, %rsp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE11:
.size main, .-main
.Letext0:
.file 2 "/usr/lib/gcc/x86_64-linux-gnu/8/include/stddef.h"
.file 3 "/usr/include/x86_64-linux-gnu/bits/types.h"
.file 4 "/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h"
.file 5 "/usr/include/x86_64-linux-gnu/bits/types/FILE.h"
.file 6 "/usr/include/stdio.h"
.file 7 "/usr/include/x86_64-linux-gnu/bits/sys_errlist.h"
.file 8 "sum.h"
.section .debug_info,"",@progbits
.Ldebug_info0:
.long 0x37a
.value 0x4
.long .Ldebug_abbrev0
.byte 0x8
.uleb128 0x1
.long .LASF50
.byte 0xc
.long .LASF51
.long .LASF52
.quad .Ltext0
.quad .Letext0-.Ltext0
.long .Ldebug_line0
.uleb128 0x2
.long .LASF7
.byte 0x2
.byte 0xd8
.byte 0x17
.long 0x39
.uleb128 0x3
.byte 0x8
.byte 0x7
.long .LASF0
.uleb128 0x3
.byte 0x4
.byte 0x7
.long .LASF1
.uleb128 0x4
.byte 0x8
.uleb128 0x3
.byte 0x1
.byte 0x8
.long .LASF2
.uleb128 0x3
.byte 0x2
.byte 0x7
.long .LASF3
.uleb128 0x3
.byte 0x1
.byte 0x6
.long .LASF4
.uleb128 0x3
.byte 0x2
.byte 0x5
.long .LASF5
.uleb128 0x5
.byte 0x4
.byte 0x5
.string "int"
.uleb128 0x3
.byte 0x8
.byte 0x5
.long .LASF6
.uleb128 0x2
.long .LASF8
.byte 0x3
.byte 0x96
.byte 0x19
.long 0x6c
.uleb128 0x2
.long .LASF9
.byte 0x3
.byte 0x97
.byte 0x1b
.long 0x6c
.uleb128 0x6
.byte 0x8
.long 0x91
.uleb128 0x3
.byte 0x1
.byte 0x6
.long .LASF10
.uleb128 0x7
.long 0x91
.uleb128 0x8
.long .LASF53
.byte 0xd8
.byte 0x4
.byte 0x31
.byte 0x8
.long 0x224
.uleb128 0x9
.long .LASF11
.byte 0x4
.byte 0x33
.byte 0x7
.long 0x65
.byte 0
.uleb128 0x9
.long .LASF12
.byte 0x4
.byte 0x36
.byte 0x9
.long 0x8b
.byte 0x8
.uleb128 0x9
.long .LASF13
.byte 0x4
.byte 0x37
.byte 0x9
.long 0x8b
.byte 0x10
.uleb128 0x9
.long .LASF14
.byte 0x4
.byte 0x38
.byte 0x9
.long 0x8b
.byte 0x18
.uleb128 0x9
.long .LASF15
.byte 0x4
.byte 0x39
.byte 0x9
.long 0x8b
.byte 0x20
.uleb128 0x9
.long .LASF16
.byte 0x4
.byte 0x3a
.byte 0x9
.long 0x8b
.byte 0x28
.uleb128 0x9
.long .LASF17
.byte 0x4
.byte 0x3b
.byte 0x9
.long 0x8b
.byte 0x30
.uleb128 0x9
.long .LASF18
.byte 0x4
.byte 0x3c
.byte 0x9
.long 0x8b
.byte 0x38
.uleb128 0x9
.long .LASF19
.byte 0x4
.byte 0x3d
.byte 0x9
.long 0x8b
.byte 0x40
.uleb128 0x9
.long .LASF20
.byte 0x4
.byte 0x40
.byte 0x9
.long 0x8b
.byte 0x48
.uleb128 0x9
.long .LASF21
.byte 0x4
.byte 0x41
.byte 0x9
.long 0x8b
.byte 0x50
.uleb128 0x9
.long .LASF22
.byte 0x4
.byte 0x42
.byte 0x9
.long 0x8b
.byte 0x58
.uleb128 0x9
.long .LASF23
.byte 0x4
.byte 0x44
.byte 0x16
.long 0x23d
.byte 0x60
.uleb128 0x9
.long .LASF24
.byte 0x4
.byte 0x46
.byte 0x14
.long 0x243
.byte 0x68
.uleb128 0x9
.long .LASF25
.byte 0x4
.byte 0x48
.byte 0x7
.long 0x65
.byte 0x70
.uleb128 0x9
.long .LASF26
.byte 0x4
.byte 0x49
.byte 0x7
.long 0x65
.byte 0x74
.uleb128 0x9
.long .LASF27
.byte 0x4
.byte 0x4a
.byte 0xb
.long 0x73
.byte 0x78
.uleb128 0x9
.long .LASF28
.byte 0x4
.byte 0x4d
.byte 0x12
.long 0x50
.byte 0x80
.uleb128 0x9
.long .LASF29
.byte 0x4
.byte 0x4e
.byte 0xf
.long 0x57
.byte 0x82
.uleb128 0x9
.long .LASF30
.byte 0x4
.byte 0x4f
.byte 0x8
.long 0x249
.byte 0x83
.uleb128 0x9
.long .LASF31
.byte 0x4
.byte 0x51
.byte 0xf
.long 0x259
.byte 0x88
.uleb128 0x9
.long .LASF32
.byte 0x4
.byte 0x59
.byte 0xd
.long 0x7f
.byte 0x90
.uleb128 0x9
.long .LASF33
.byte 0x4
.byte 0x5b
.byte 0x17
.long 0x264
.byte 0x98
.uleb128 0x9
.long .LASF34
.byte 0x4
.byte 0x5c
.byte 0x19
.long 0x26f
.byte 0xa0
.uleb128 0x9
.long .LASF35
.byte 0x4
.byte 0x5d
.byte 0x14
.long 0x243
.byte 0xa8
.uleb128 0x9
.long .LASF36
.byte 0x4
.byte 0x5e
.byte 0x9
.long 0x47
.byte 0xb0
.uleb128 0x9
.long .LASF37
.byte 0x4
.byte 0x5f
.byte 0xa
.long 0x2d
.byte 0xb8
.uleb128 0x9
.long .LASF38
.byte 0x4
.byte 0x60
.byte 0x7
.long 0x65
.byte 0xc0
.uleb128 0x9
.long .LASF39
.byte 0x4
.byte 0x62
.byte 0x8
.long 0x275
.byte 0xc4
.byte 0
.uleb128 0x2
.long .LASF40
.byte 0x5
.byte 0x7
.byte 0x19
.long 0x9d
.uleb128 0xa
.long .LASF54
.byte 0x4
.byte 0x2b
.byte 0xe
.uleb128 0xb
.long .LASF41
.uleb128 0x6
.byte 0x8
.long 0x238
.uleb128 0x6
.byte 0x8
.long 0x9d
.uleb128 0xc
.long 0x91
.long 0x259
.uleb128 0xd
.long 0x39
.byte 0
.byte 0
.uleb128 0x6
.byte 0x8
.long 0x230
.uleb128 0xb
.long .LASF42
.uleb128 0x6
.byte 0x8
.long 0x25f
.uleb128 0xb
.long .LASF43
.uleb128 0x6
.byte 0x8
.long 0x26a
.uleb128 0xc
.long 0x91
.long 0x285
.uleb128 0xd
.long 0x39
.byte 0x13
.byte 0
.uleb128 0xe
.long .LASF44
.byte 0x6
.byte 0x89
.byte 0xe
.long 0x291
.uleb128 0x6
.byte 0x8
.long 0x224
.uleb128 0xe
.long .LASF45
.byte 0x6
.byte 0x8a
.byte 0xe
.long 0x291
.uleb128 0xe
.long .LASF46
.byte 0x6
.byte 0x8b
.byte 0xe
.long 0x291
.uleb128 0xe
.long .LASF47
.byte 0x7
.byte 0x1a
.byte 0xc
.long 0x65
.uleb128 0xc
.long 0x2d1
.long 0x2c6
.uleb128 0xf
.byte 0
.uleb128 0x7
.long 0x2bb
.uleb128 0x6
.byte 0x8
.long 0x98
.uleb128 0x7
.long 0x2cb
.uleb128 0xe
.long .LASF48
.byte 0x7
.byte 0x1b
.byte 0x1a
.long 0x2c6
.uleb128 0x10
.long .LASF55
.byte 0x1
.byte 0x4
.byte 0x5
.long 0x65
.quad .LFB11
.quad .LFE11-.LFB11
.uleb128 0x1
.byte 0x9c
.long 0x364
.uleb128 0x11
.string "a"
.byte 0x1
.byte 0x6
.byte 0x7
.long 0x65
.byte 0x3
.uleb128 0x11
.string "b"
.byte 0x1
.byte 0x7
.byte 0x7
.long 0x65
.byte 0x9
.uleb128 0x12
.string "c"
.byte 0x1
.byte 0x8
.byte 0x7
.long 0x65
.long .LLST0
.long .LVUS0
.uleb128 0x13
.quad .LVL1
.long 0x364
.long 0x348
.uleb128 0x14
.uleb128 0x1
.byte 0x55
.uleb128 0x1
.byte 0x33
.uleb128 0x14
.uleb128 0x1
.byte 0x54
.uleb128 0x1
.byte 0x39
.byte 0
.uleb128 0x15
.quad .LVL3
.long 0x370
.uleb128 0x14
.uleb128 0x1
.byte 0x55
.uleb128 0x9
.byte 0x3
.quad .LC0
.byte 0
.byte 0
.uleb128 0x16
.string "sum"
.string "sum"
.byte 0x8
.byte 0x1
.byte 0xc
.uleb128 0x17
.long .LASF49
.long .LASF49
.byte 0x6
.value 0x14c
.byte 0xc
.byte 0
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.uleb128 0x1
.uleb128 0x11
.byte 0x1
.uleb128 0x25
.uleb128 0xe
.uleb128 0x13
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.uleb128 0x1b
.uleb128 0xe
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x10
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0x2
.uleb128 0x16
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x3
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0xe
.byte 0
.byte 0
.uleb128 0x4
.uleb128 0xf
.byte 0
.uleb128 0xb
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0x5
.uleb128 0x24
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3e
.uleb128 0xb
.uleb128 0x3
.uleb128 0x8
.byte 0
.byte 0
.uleb128 0x6
.uleb128 0xf
.byte 0
.uleb128 0xb
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x7
.uleb128 0x26
.byte 0
.uleb128 0x49
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x8
.uleb128 0x13
.byte 0x1
.uleb128 0x3
.uleb128 0xe
.uleb128 0xb
.uleb128 0xb
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x9
.uleb128 0xd
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x38
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xa
.uleb128 0x16
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xb
.uleb128 0x13
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3c
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0xc
.uleb128 0x1
.byte 0x1
.uleb128 0x49
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0xd
.uleb128 0x21
.byte 0
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2f
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0xe
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3c
.uleb128 0x19
.byte 0
.byte 0
.uleb128 0xf
.uleb128 0x21
.byte 0
.byte 0
.byte 0
.uleb128 0x10
.uleb128 0x2e
.byte 0x1
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x27
.uleb128 0x19
.uleb128 0x49
.uleb128 0x13
.uleb128 0x11
.uleb128 0x1
.uleb128 0x12
.uleb128 0x7
.uleb128 0x40
.uleb128 0x18
.uleb128 0x2117
.uleb128 0x19
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x11
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x1c
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0x12
.uleb128 0x34
.byte 0
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.uleb128 0x49
.uleb128 0x13
.uleb128 0x2
.uleb128 0x17
.uleb128 0x2137
.uleb128 0x17
.byte 0
.byte 0
.uleb128 0x13
.uleb128 0x4109
.byte 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x31
.uleb128 0x13
.uleb128 0x1
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x14
.uleb128 0x410a
.byte 0
.uleb128 0x2
.uleb128 0x18
.uleb128 0x2111
.uleb128 0x18
.byte 0
.byte 0
.uleb128 0x15
.uleb128 0x4109
.byte 0x1
.uleb128 0x11
.uleb128 0x1
.uleb128 0x31
.uleb128 0x13
.byte 0
.byte 0
.uleb128 0x16
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3c
.uleb128 0x19
.uleb128 0x6e
.uleb128 0x8
.uleb128 0x3
.uleb128 0x8
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0xb
.uleb128 0x39
.uleb128 0xb
.byte 0
.byte 0
.uleb128 0x17
.uleb128 0x2e
.byte 0
.uleb128 0x3f
.uleb128 0x19
.uleb128 0x3c
.uleb128 0x19
.uleb128 0x6e
.uleb128 0xe
.uleb128 0x3
.uleb128 0xe
.uleb128 0x3a
.uleb128 0xb
.uleb128 0x3b
.uleb128 0x5
.uleb128 0x39
.uleb128 0xb
.byte 0
.byte 0
.byte 0
.section .debug_loc,"",@progbits
.Ldebug_loc0:
.LVUS0:
.uleb128 .LVU5
.uleb128 .LVU6
.uleb128 .LVU6
.uleb128 .LVU7
.LLST0:
.quad .LVL1-.Ltext0
.quad .LVL2-.Ltext0
.value 0x1
.byte 0x50
.quad .LVL2-.Ltext0
.quad .LVL3-1-.Ltext0
.value 0x1
.byte 0x54
.quad 0
.quad 0
.section .debug_aranges,"",@progbits
.long 0x2c
.value 0x2
.long .Ldebug_info0
.byte 0x8
.byte 0
.value 0
.value 0
.quad .Ltext0
.quad .Letext0-.Ltext0
.quad 0
.quad 0
.section .debug_line,"",@progbits
.Ldebug_line0:
.section .debug_str,"MS",@progbits,1
.LASF19:
.string "_IO_buf_end"
.LASF27:
.string "_old_offset"
.LASF47:
.string "sys_nerr"
.LASF22:
.string "_IO_save_end"
.LASF5:
.string "short int"
.LASF7:
.string "size_t"
.LASF32:
.string "_offset"
.LASF50:
.string "GNU C17 8.3.0 -mtune=generic -march=x86-64 -g2 -O"
.LASF16:
.string "_IO_write_ptr"
.LASF11:
.string "_flags"
.LASF18:
.string "_IO_buf_base"
.LASF23:
.string "_markers"
.LASF13:
.string "_IO_read_end"
.LASF36:
.string "_freeres_buf"
.LASF46:
.string "stderr"
.LASF31:
.string "_lock"
.LASF6:
.string "long int"
.LASF49:
.string "printf"
.LASF28:
.string "_cur_column"
.LASF53:
.string "_IO_FILE"
.LASF52:
.string "/home/peter/bo/2023ss/rtech/20230516"
.LASF2:
.string "unsigned char"
.LASF51:
.string "stack-02.c"
.LASF4:
.string "signed char"
.LASF33:
.string "_codecvt"
.LASF1:
.string "unsigned int"
.LASF41:
.string "_IO_marker"
.LASF30:
.string "_shortbuf"
.LASF15:
.string "_IO_write_base"
.LASF39:
.string "_unused2"
.LASF12:
.string "_IO_read_ptr"
.LASF3:
.string "short unsigned int"
.LASF10:
.string "char"
.LASF55:
.string "main"
.LASF34:
.string "_wide_data"
.LASF35:
.string "_freeres_list"
.LASF37:
.string "__pad5"
.LASF42:
.string "_IO_codecvt"
.LASF0:
.string "long unsigned int"
.LASF17:
.string "_IO_write_end"
.LASF9:
.string "__off64_t"
.LASF8:
.string "__off_t"
.LASF24:
.string "_chain"
.LASF43:
.string "_IO_wide_data"
.LASF21:
.string "_IO_backup_base"
.LASF44:
.string "stdin"
.LASF26:
.string "_flags2"
.LASF38:
.string "_mode"
.LASF14:
.string "_IO_read_base"
.LASF29:
.string "_vtable_offset"
.LASF20:
.string "_IO_save_base"
.LASF48:
.string "sys_errlist"
.LASF25:
.string "_fileno"
.LASF40:
.string "FILE"
.LASF45:
.string "stdout"
.LASF54:
.string "_IO_lock_t"
.ident "GCC: (Debian 8.3.0-6) 8.3.0"
.section .note.GNU-stack,"",@progbits