dw2-error.S 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /* Copyright (C) 2012-2022 Free Software Foundation, Inc.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation; either version 3 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. This was created using gcc -g -dA dw2-error.c, then hand-editing
  13. it to change the DWARF version.
  14. */
  15. .file "dw2-error.c"
  16. .text
  17. .Ltext0:
  18. .globl main
  19. .type main, @function
  20. main:
  21. .LFB0:
  22. .file 1 "dw2-error.c"
  23. # dw2-error.c:19
  24. .loc 1 19 0
  25. .cfi_startproc
  26. # basic block 2
  27. pushq %rbp
  28. .cfi_def_cfa_offset 16
  29. .cfi_offset 6, -16
  30. movq %rsp, %rbp
  31. .cfi_def_cfa_register 6
  32. # dw2-error.c:20
  33. .loc 1 20 0
  34. movl $23, %eax
  35. # dw2-error.c:21
  36. .loc 1 21 0
  37. popq %rbp
  38. .cfi_def_cfa 7, 8
  39. ret
  40. .cfi_endproc
  41. .LFE0:
  42. .size main, .-main
  43. .Letext0:
  44. .section .debug_info,"",@progbits
  45. .Ldebug_info0:
  46. .long 0x4e # Length of Compilation Unit Info
  47. .value 0x99 # DWARF version number
  48. .long .Ldebug_abbrev0 # Offset Into Abbrev. Section
  49. .byte 0x8 # Pointer Size (in bytes)
  50. .uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
  51. .long .LASF0 # DW_AT_producer: "GNU C 4.6.3 20120306 (Red Hat 4.6.3-2) -mtune=generic -march=x86-64 -g"
  52. .byte 0x1 # DW_AT_language
  53. .long .LASF1 # DW_AT_name: "dw2-error.c"
  54. .long .LASF2 # DW_AT_comp_dir: "/tmp"
  55. .quad .Ltext0 # DW_AT_low_pc
  56. .quad .Letext0 # DW_AT_high_pc
  57. .long .Ldebug_line0 # DW_AT_stmt_list
  58. .uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
  59. # DW_AT_external
  60. .long .LASF3 # DW_AT_name: "main"
  61. .byte 0x1 # DW_AT_decl_file (dw2-error.c)
  62. .byte 0x12 # DW_AT_decl_line
  63. .long 0x4a # DW_AT_type
  64. .quad .LFB0 # DW_AT_low_pc
  65. .quad .LFE0 # DW_AT_high_pc
  66. .uleb128 0x1 # DW_AT_frame_base
  67. .byte 0x9c # DW_OP_call_frame_cfa
  68. # DW_AT_GNU_all_call_sites
  69. .uleb128 0x3 # (DIE (0x4a) DW_TAG_base_type)
  70. .byte 0x4 # DW_AT_byte_size
  71. .byte 0x5 # DW_AT_encoding
  72. .ascii "int\0" # DW_AT_name
  73. .byte 0 # end of children of DIE 0xb
  74. .section .debug_abbrev,"",@progbits
  75. .Ldebug_abbrev0:
  76. .uleb128 0x1 # (abbrev code)
  77. .uleb128 0x11 # (TAG: DW_TAG_compile_unit)
  78. .byte 0x1 # DW_children_yes
  79. .uleb128 0x25 # (DW_AT_producer)
  80. .uleb128 0xe # (DW_FORM_strp)
  81. .uleb128 0x13 # (DW_AT_language)
  82. .uleb128 0xb # (DW_FORM_data1)
  83. .uleb128 0x3 # (DW_AT_name)
  84. .uleb128 0xe # (DW_FORM_strp)
  85. .uleb128 0x1b # (DW_AT_comp_dir)
  86. .uleb128 0xe # (DW_FORM_strp)
  87. .uleb128 0x11 # (DW_AT_low_pc)
  88. .uleb128 0x1 # (DW_FORM_addr)
  89. .uleb128 0x12 # (DW_AT_high_pc)
  90. .uleb128 0x1 # (DW_FORM_addr)
  91. .uleb128 0x10 # (DW_AT_stmt_list)
  92. .uleb128 0x17 # (DW_FORM_sec_offset)
  93. .byte 0
  94. .byte 0
  95. .uleb128 0x2 # (abbrev code)
  96. .uleb128 0x2e # (TAG: DW_TAG_subprogram)
  97. .byte 0 # DW_children_no
  98. .uleb128 0x3f # (DW_AT_external)
  99. .uleb128 0x19 # (DW_FORM_flag_present)
  100. .uleb128 0x3 # (DW_AT_name)
  101. .uleb128 0xe # (DW_FORM_strp)
  102. .uleb128 0x3a # (DW_AT_decl_file)
  103. .uleb128 0xb # (DW_FORM_data1)
  104. .uleb128 0x3b # (DW_AT_decl_line)
  105. .uleb128 0xb # (DW_FORM_data1)
  106. .uleb128 0x49 # (DW_AT_type)
  107. .uleb128 0x13 # (DW_FORM_ref4)
  108. .uleb128 0x11 # (DW_AT_low_pc)
  109. .uleb128 0x1 # (DW_FORM_addr)
  110. .uleb128 0x12 # (DW_AT_high_pc)
  111. .uleb128 0x1 # (DW_FORM_addr)
  112. .uleb128 0x40 # (DW_AT_frame_base)
  113. .uleb128 0x18 # (DW_FORM_exprloc)
  114. .uleb128 0x2117 # (DW_AT_GNU_all_call_sites)
  115. .uleb128 0x19 # (DW_FORM_flag_present)
  116. .byte 0
  117. .byte 0
  118. .uleb128 0x3 # (abbrev code)
  119. .uleb128 0x24 # (TAG: DW_TAG_base_type)
  120. .byte 0 # DW_children_no
  121. .uleb128 0xb # (DW_AT_byte_size)
  122. .uleb128 0xb # (DW_FORM_data1)
  123. .uleb128 0x3e # (DW_AT_encoding)
  124. .uleb128 0xb # (DW_FORM_data1)
  125. .uleb128 0x3 # (DW_AT_name)
  126. .uleb128 0x8 # (DW_FORM_string)
  127. .byte 0
  128. .byte 0
  129. .byte 0
  130. .section .debug_aranges,"",@progbits
  131. .long 0x2c # Length of Address Ranges Info
  132. .value 0x2 # DWARF Version
  133. .long .Ldebug_info0 # Offset of Compilation Unit Info
  134. .byte 0x8 # Size of Address
  135. .byte 0 # Size of Segment Descriptor
  136. .value 0 # Pad to 16 byte boundary
  137. .value 0
  138. .quad .Ltext0 # Address
  139. .quad .Letext0-.Ltext0 # Length
  140. .quad 0
  141. .quad 0
  142. .section .debug_line,"",@progbits
  143. .Ldebug_line0:
  144. .section .debug_str,"MS",@progbits,1
  145. .LASF0:
  146. .string "GNU C 4.6.3 20120306 (Red Hat 4.6.3-2) -mtune=generic -march=x86-64 -g"
  147. .LASF2:
  148. .string "/tmp"
  149. .LASF3:
  150. .string "main"
  151. .LASF1:
  152. .string "dw2-error.c"
  153. .ident "GCC: (GNU) 4.6.3 20120306 (Red Hat 4.6.3-2)"
  154. .section .note.GNU-stack,"",@progbits