231 lines · plain
1// REQUIRES: x86-registered-target2 3// RUN: llvm-mc -filetype=obj -triple=x86_64-linux-gnu -o %t.o %s4// RUN: echo 'FRAME %t.o 0' | llvm-symbolizer | FileCheck %s5 6// Generated with:7//8// function foo(array)9// integer, intent(in), dimension(2:3) :: array10// end function foo11//12// gcc -x f95 -g -S13 14// CHECK: foo15// CHECK-NEXT: array16// CHECK-NEXT: /home/ubuntu{{/|\\}}.{{/|\\}}example.cpp:117// CHECK-NEXT: -24 8 ??18 19 .file "example.cpp"20 .text21.Ltext0:22 .globl foo_23 .type foo_, @function24foo_:25.LFB0:26 .file 1 "./example.cpp"27 .loc 1 1 028 .cfi_startproc29 pushq %rbp30 .cfi_def_cfa_offset 1631 .cfi_offset 6, -1632 movq %rsp, %rbp33 .cfi_def_cfa_register 634 movq %rdi, -8(%rbp)35 .loc 1 3 036 nop37 popq %rbp38 .cfi_def_cfa 7, 839 ret40 .cfi_endproc41.LFE0:42 .size foo_, .-foo_43.Letext0:44 .section .debug_info,"",@progbits45.Ldebug_info0:46 .long 0x8647 .value 0x448 .long .Ldebug_abbrev049 .byte 0x850 .uleb128 0x151 .long .LASF352 .byte 0xe53 .byte 0x254 .long .LASF455 .long .LASF556 .quad .Ltext057 .quad .Letext0-.Ltext058 .long .Ldebug_line059 .uleb128 0x260 .string "foo"61 .byte 0x162 .byte 0x163 .long .LASF664 .long 0x6365 .quad .LFB066 .quad .LFE0-.LFB067 .uleb128 0x168 .byte 0x9c69 .long 0x6370 .uleb128 0x371 .long .LASF772 .byte 0x173 .byte 0x174 .long 0x6a75 .uleb128 0x376 .byte 0x9177 .sleb128 -2478 .byte 0x679 .byte 080 .uleb128 0x481 .byte 0x482 .byte 0x483 .long .LASF084 .uleb128 0x585 .long 0x8286 .long 0x7b87 .uleb128 0x688 .long 0x7b89 .sleb128 290 .sleb128 391 .byte 092 .uleb128 0x493 .byte 0x894 .byte 0x595 .long .LASF196 .uleb128 0x497 .byte 0x498 .byte 0x599 .long .LASF2100 .byte 0101 .section .debug_abbrev,"",@progbits102.Ldebug_abbrev0:103 .uleb128 0x1104 .uleb128 0x11105 .byte 0x1106 .uleb128 0x25107 .uleb128 0xe108 .uleb128 0x13109 .uleb128 0xb110 .uleb128 0x42111 .uleb128 0xb112 .uleb128 0x3113 .uleb128 0xe114 .uleb128 0x1b115 .uleb128 0xe116 .uleb128 0x11117 .uleb128 0x1118 .uleb128 0x12119 .uleb128 0x7120 .uleb128 0x10121 .uleb128 0x17122 .byte 0123 .byte 0124 .uleb128 0x2125 .uleb128 0x2e126 .byte 0x1127 .uleb128 0x3f128 .uleb128 0x19129 .uleb128 0x3130 .uleb128 0x8131 .uleb128 0x3a132 .uleb128 0xb133 .uleb128 0x3b134 .uleb128 0xb135 .uleb128 0x6e136 .uleb128 0xe137 .uleb128 0x49138 .uleb128 0x13139 .uleb128 0x11140 .uleb128 0x1141 .uleb128 0x12142 .uleb128 0x7143 .uleb128 0x40144 .uleb128 0x18145 .uleb128 0x2117146 .uleb128 0x19147 .uleb128 0x1148 .uleb128 0x13149 .byte 0150 .byte 0151 .uleb128 0x3152 .uleb128 0x5153 .byte 0154 .uleb128 0x3155 .uleb128 0xe156 .uleb128 0x3a157 .uleb128 0xb158 .uleb128 0x3b159 .uleb128 0xb160 .uleb128 0x49161 .uleb128 0x13162 .uleb128 0x2163 .uleb128 0x18164 .byte 0165 .byte 0166 .uleb128 0x4167 .uleb128 0x24168 .byte 0169 .uleb128 0xb170 .uleb128 0xb171 .uleb128 0x3e172 .uleb128 0xb173 .uleb128 0x3174 .uleb128 0xe175 .byte 0176 .byte 0177 .uleb128 0x5178 .uleb128 0x1179 .byte 0x1180 .uleb128 0x49181 .uleb128 0x13182 .uleb128 0x1183 .uleb128 0x13184 .byte 0185 .byte 0186 .uleb128 0x6187 .uleb128 0x21188 .byte 0189 .uleb128 0x49190 .uleb128 0x13191 .uleb128 0x22192 .uleb128 0xd193 .uleb128 0x2f194 .uleb128 0xd195 .byte 0196 .byte 0197 .byte 0198 .section .debug_aranges,"",@progbits199 .long 0x2c200 .value 0x2201 .long .Ldebug_info0202 .byte 0x8203 .byte 0204 .value 0205 .value 0206 .quad .Ltext0207 .quad .Letext0-.Ltext0208 .quad 0209 .quad 0210 .section .debug_line,"",@progbits211.Ldebug_line0:212 .section .debug_str,"MS",@progbits,1213.LASF5:214 .string "/home/ubuntu"215.LASF7:216 .string "array"217.LASF0:218 .string "real(kind=4)"219.LASF2:220 .string "integer(kind=4)"221.LASF6:222 .string "foo_"223.LASF1:224 .string "integer(kind=8)"225.LASF3:226 .string "GNU Fortran2008 9.1.0 -mtune=generic -march=x86-64 -g -g -fintrinsic-modules-path /opt/compiler-explorer/gcc-9.1.0/bin/../lib/gcc/x86_64-linux-gnu/9.1.0/finclude"227.LASF4:228 .string "./example.cpp"229 .ident "GCC: (Compiler-Explorer-Build) 9.1.0"230 .section .note.GNU-stack,"",@progbits231