| .text |
| .file "example.cpp" |
| .globl _Z6squarei |
| .p2align 4, 0x90 |
| .type _Z6squarei,@function |
| _Z6squarei: # @_Z6squarei |
| .Lfunc_begin0: |
| .file 1 "" "example.cpp" |
| .loc 1 2 0 # example.cpp:2:0 |
| .cfi_startproc |
| # BB#0: |
| pushq %rbp |
| .Lcfi0: |
| .cfi_def_cfa_offset 16 |
| .Lcfi1: |
| .cfi_offset %rbp, -16 |
| movq %rsp, %rbp |
| .Lcfi2: |
| .cfi_def_cfa_register %rbp |
| movl %edi, -4(%rbp) |
| .Ltmp0: |
| .loc 1 3 5 prologue_end # example.cpp:3:5 |
| #APP |
| label: |
| #NO_APP |
| .loc 1 4 12 # example.cpp:4:12 |
| movl -4(%rbp), %edi |
| .loc 1 4 16 is_stmt 0 # example.cpp:4:16 |
| imull -4(%rbp), %edi |
| .loc 1 4 5 # example.cpp:4:5 |
| movl %edi, %eax |
| popq %rbp |
| retq |
| .Ltmp1: |
| .Lfunc_end0: |
| .size _Z6squarei, .Lfunc_end0-_Z6squarei |
| .cfi_endproc |
| |
| .section .debug_str,"MS",@progbits,1 |
| .Linfo_string0: |
| .asciz "clang version 4.0.0-1ubuntu1 (tags/RELEASE_400/rc1)" # string offset=0 |
| .Linfo_string1: |
| .asciz "example.cpp" # string offset=52 |
| .Linfo_string2: |
| .asciz "/home/partouf/compiler-explorer" # string offset=122 |
| .Linfo_string3: |
| .asciz "_Z6squarei" # string offset=154 |
| .Linfo_string4: |
| .asciz "square" # string offset=165 |
| .Linfo_string5: |
| .asciz "int" # string offset=172 |
| .Linfo_string6: |
| .asciz "num" # string offset=176 |
| .section .debug_loc,"",@progbits |
| .section .debug_abbrev,"",@progbits |
| .Lsection_abbrev: |
| .byte 1 # Abbreviation Code |
| .byte 17 # DW_TAG_compile_unit |
| .byte 1 # DW_CHILDREN_yes |
| .byte 37 # DW_AT_producer |
| .byte 14 # DW_FORM_strp |
| .byte 19 # DW_AT_language |
| .byte 5 # DW_FORM_data2 |
| .byte 3 # DW_AT_name |
| .byte 14 # DW_FORM_strp |
| .byte 16 # DW_AT_stmt_list |
| .byte 23 # DW_FORM_sec_offset |
| .byte 27 # DW_AT_comp_dir |
| .byte 14 # DW_FORM_strp |
| .byte 17 # DW_AT_low_pc |
| .byte 1 # DW_FORM_addr |
| .byte 18 # DW_AT_high_pc |
| .byte 6 # DW_FORM_data4 |
| .byte 0 # EOM(1) |
| .byte 0 # EOM(2) |
| .byte 2 # Abbreviation Code |
| .byte 46 # DW_TAG_subprogram |
| .byte 1 # DW_CHILDREN_yes |
| .byte 17 # DW_AT_low_pc |
| .byte 1 # DW_FORM_addr |
| .byte 18 # DW_AT_high_pc |
| .byte 6 # DW_FORM_data4 |
| .byte 64 # DW_AT_frame_base |
| .byte 24 # DW_FORM_exprloc |
| .byte 110 # DW_AT_linkage_name |
| .byte 14 # DW_FORM_strp |
| .byte 3 # DW_AT_name |
| .byte 14 # DW_FORM_strp |
| .byte 58 # DW_AT_decl_file |
| .byte 11 # DW_FORM_data1 |
| .byte 59 # DW_AT_decl_line |
| .byte 11 # DW_FORM_data1 |
| .byte 73 # DW_AT_type |
| .byte 19 # DW_FORM_ref4 |
| .byte 63 # DW_AT_external |
| .byte 25 # DW_FORM_flag_present |
| .byte 0 # EOM(1) |
| .byte 0 # EOM(2) |
| .byte 3 # Abbreviation Code |
| .byte 5 # DW_TAG_formal_parameter |
| .byte 0 # DW_CHILDREN_no |
| .byte 2 # DW_AT_location |
| .byte 24 # DW_FORM_exprloc |
| .byte 3 # DW_AT_name |
| .byte 14 # DW_FORM_strp |
| .byte 58 # DW_AT_decl_file |
| .byte 11 # DW_FORM_data1 |
| .byte 59 # DW_AT_decl_line |
| .byte 11 # DW_FORM_data1 |
| .byte 73 # DW_AT_type |
| .byte 19 # DW_FORM_ref4 |
| .byte 0 # EOM(1) |
| .byte 0 # EOM(2) |
| .byte 4 # Abbreviation Code |
| .byte 36 # DW_TAG_base_type |
| .byte 0 # DW_CHILDREN_no |
| .byte 3 # DW_AT_name |
| .byte 14 # DW_FORM_strp |
| .byte 62 # DW_AT_encoding |
| .byte 11 # DW_FORM_data1 |
| .byte 11 # DW_AT_byte_size |
| .byte 11 # DW_FORM_data1 |
| .byte 0 # EOM(1) |
| .byte 0 # EOM(2) |
| .byte 0 # EOM(3) |
| .section .debug_info,"",@progbits |
| .Lsection_info: |
| .Lcu_begin0: |
| .long 90 # Length of Unit |
| .short 4 # DWARF version number |
| .long .Lsection_abbrev # Offset Into Abbrev. Section |
| .byte 8 # Address Size (in bytes) |
| .byte 1 # Abbrev [1] 0xb:0x53 DW_TAG_compile_unit |
| .long .Linfo_string0 # DW_AT_producer |
| .short 4 # DW_AT_language |
| .long .Linfo_string1 # DW_AT_name |
| .long .Lline_table_start0 # DW_AT_stmt_list |
| .long .Linfo_string2 # DW_AT_comp_dir |
| .quad .Lfunc_begin0 # DW_AT_low_pc |
| .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc |
| .byte 2 # Abbrev [2] 0x2a:0x2c DW_TAG_subprogram |
| .quad .Lfunc_begin0 # DW_AT_low_pc |
| .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc |
| .byte 1 # DW_AT_frame_base |
| .byte 86 |
| .long .Linfo_string3 # DW_AT_linkage_name |
| .long .Linfo_string4 # DW_AT_name |
| .byte 1 # DW_AT_decl_file |
| .byte 2 # DW_AT_decl_line |
| .long 86 # DW_AT_type |
| # DW_AT_external |
| .byte 3 # Abbrev [3] 0x47:0xe DW_TAG_formal_parameter |
| .byte 2 # DW_AT_location |
| .byte 145 |
| .byte 124 |
| .long .Linfo_string6 # DW_AT_name |
| .byte 1 # DW_AT_decl_file |
| .byte 2 # DW_AT_decl_line |
| .long 86 # DW_AT_type |
| .byte 0 # End Of Children Mark |
| .byte 4 # Abbrev [4] 0x56:0x7 DW_TAG_base_type |
| .long .Linfo_string5 # DW_AT_name |
| .byte 5 # DW_AT_encoding |
| .byte 4 # DW_AT_byte_size |
| .byte 0 # End Of Children Mark |
| .section .debug_ranges,"",@progbits |
| .Ldebug_range: |
| .section .debug_macinfo,"",@progbits |
| .Ldebug_macinfo: |
| .Lcu_macro_begin0: |
| .byte 0 # End Of Macro List Mark |
| .section .debug_pubnames,"",@progbits |
| .long .LpubNames_end0-.LpubNames_begin0 # Length of Public Names Info |
| .LpubNames_begin0: |
| .short 2 # DWARF Version |
| .long .Lcu_begin0 # Offset of Compilation Unit Info |
| .long 94 # Compilation Unit Length |
| .long 42 # DIE offset |
| .asciz "square" # External Name |
| .long 0 # End Mark |
| .LpubNames_end0: |
| .section .debug_pubtypes,"",@progbits |
| .long .LpubTypes_end0-.LpubTypes_begin0 # Length of Public Types Info |
| .LpubTypes_begin0: |
| .short 2 # DWARF Version |
| .long .Lcu_begin0 # Offset of Compilation Unit Info |
| .long 94 # Compilation Unit Length |
| .long 86 # DIE offset |
| .asciz "int" # External Name |
| .long 0 # End Mark |
| .LpubTypes_end0: |
| |
| .ident "clang version 4.0.0-1ubuntu1 (tags/RELEASE_400/rc1)" |
| .section ".note.GNU-stack","",@progbits |
| .section .debug_line,"",@progbits |
| .Lline_table_start0: |