pieces-optimized-out.S 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. /*
  2. Copyright 2010-2022 Free Software Foundation, Inc.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 3 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  13. /* This was compiled with gcc version 4.7.2 using:
  14. gcc -O3 -m32 -g -o pieces-optimized-out.S -S pieces-optimized-out.c
  15. The contents of this file are otherwise unmodified. */
  16. .file "pieces-optimized-out.c"
  17. .text
  18. .Ltext0:
  19. .p2align 4,,15
  20. .globl foo
  21. .type foo, @function
  22. foo:
  23. .LFB0:
  24. .file 1 "pieces-optimized-out.c"
  25. .loc 1 33 0
  26. .LVL0:
  27. .loc 1 35 0
  28. movl 4(%esp), %eax
  29. ret
  30. .LFE0:
  31. .size foo, .-foo
  32. .section .text.startup,"ax",@progbits
  33. .p2align 4,,15
  34. .globl main
  35. .type main, @function
  36. main:
  37. .LFB1:
  38. .loc 1 39 0
  39. .LVL1:
  40. subl $4, %esp
  41. .LCFI0:
  42. .loc 1 44 0
  43. movl $10, (%esp)
  44. call foo
  45. .LVL2:
  46. .loc 1 46 0
  47. addl $4, %esp
  48. .LCFI1:
  49. .loc 1 45 0
  50. addl $20, %eax
  51. .LVL3:
  52. .loc 1 46 0
  53. ret
  54. .LFE1:
  55. .size main, .-main
  56. .section .debug_frame,"",@progbits
  57. .Lframe0:
  58. .long .LECIE0-.LSCIE0
  59. .LSCIE0:
  60. .long 0xffffffff
  61. .byte 0x1
  62. .string ""
  63. .uleb128 0x1
  64. .sleb128 -4
  65. .byte 0x8
  66. .byte 0xc
  67. .uleb128 0x4
  68. .uleb128 0x4
  69. .byte 0x88
  70. .uleb128 0x1
  71. .align 4
  72. .LECIE0:
  73. .LSFDE0:
  74. .long .LEFDE0-.LASFDE0
  75. .LASFDE0:
  76. .long .Lframe0
  77. .long .LFB0
  78. .long .LFE0-.LFB0
  79. .align 4
  80. .LEFDE0:
  81. .LSFDE2:
  82. .long .LEFDE2-.LASFDE2
  83. .LASFDE2:
  84. .long .Lframe0
  85. .long .LFB1
  86. .long .LFE1-.LFB1
  87. .byte 0x4
  88. .long .LCFI0-.LFB1
  89. .byte 0xe
  90. .uleb128 0x8
  91. .byte 0x4
  92. .long .LCFI1-.LCFI0
  93. .byte 0xe
  94. .uleb128 0x4
  95. .align 4
  96. .LEFDE2:
  97. .section .eh_frame,"a",@progbits
  98. .Lframe1:
  99. .long .LECIE1-.LSCIE1
  100. .LSCIE1:
  101. .long 0
  102. .byte 0x1
  103. .string ""
  104. .uleb128 0x1
  105. .sleb128 -4
  106. .byte 0x8
  107. .byte 0xc
  108. .uleb128 0x4
  109. .uleb128 0x4
  110. .byte 0x88
  111. .uleb128 0x1
  112. .align 4
  113. .LECIE1:
  114. .LSFDE5:
  115. .long .LEFDE5-.LASFDE5
  116. .LASFDE5:
  117. .long .LASFDE5-.Lframe1
  118. .long .LFB0
  119. .long .LFE0-.LFB0
  120. .align 4
  121. .LEFDE5:
  122. .LSFDE7:
  123. .long .LEFDE7-.LASFDE7
  124. .LASFDE7:
  125. .long .LASFDE7-.Lframe1
  126. .long .LFB1
  127. .long .LFE1-.LFB1
  128. .byte 0x4
  129. .long .LCFI0-.LFB1
  130. .byte 0xe
  131. .uleb128 0x8
  132. .byte 0x4
  133. .long .LCFI1-.LCFI0
  134. .byte 0xe
  135. .uleb128 0x4
  136. .align 4
  137. .LEFDE7:
  138. .text
  139. .Letext0:
  140. .section .debug_info,"",@progbits
  141. .Ldebug_info0:
  142. .long 0xe4
  143. .value 0x2
  144. .long .Ldebug_abbrev0
  145. .byte 0x4
  146. .uleb128 0x1
  147. .long .LASF0
  148. .byte 0x1
  149. .long .LASF1
  150. .long .LASF2
  151. .long .Ldebug_ranges0+0
  152. .long 0
  153. .long 0
  154. .long .Ldebug_line0
  155. .uleb128 0x2
  156. .string "str"
  157. .byte 0xc
  158. .byte 0x1
  159. .byte 0x17
  160. .long 0x6c
  161. .uleb128 0x3
  162. .string "a"
  163. .byte 0x1
  164. .byte 0x19
  165. .long 0x6c
  166. .byte 0x2
  167. .byte 0x23
  168. .uleb128 0
  169. .uleb128 0x3
  170. .string "b"
  171. .byte 0x1
  172. .byte 0x1a
  173. .long 0x6c
  174. .byte 0x2
  175. .byte 0x23
  176. .uleb128 0x4
  177. .uleb128 0x4
  178. .string "c"
  179. .byte 0x1
  180. .byte 0x1b
  181. .long 0x6c
  182. .byte 0x4
  183. .byte 0x3
  184. .byte 0x1d
  185. .byte 0x2
  186. .byte 0x23
  187. .uleb128 0x8
  188. .uleb128 0x4
  189. .string "d"
  190. .byte 0x1
  191. .byte 0x1c
  192. .long 0x6c
  193. .byte 0x4
  194. .byte 0x3
  195. .byte 0x1a
  196. .byte 0x2
  197. .byte 0x23
  198. .uleb128 0x8
  199. .byte 0
  200. .uleb128 0x5
  201. .byte 0x4
  202. .byte 0x5
  203. .string "int"
  204. .uleb128 0x6
  205. .byte 0x1
  206. .string "foo"
  207. .byte 0x1
  208. .byte 0x20
  209. .byte 0x1
  210. .long 0x6c
  211. .long .LFB0
  212. .long .LFE0
  213. .byte 0x2
  214. .byte 0x74
  215. .sleb128 4
  216. .byte 0x1
  217. .long 0x9f
  218. .uleb128 0x7
  219. .string "arg"
  220. .byte 0x1
  221. .byte 0x20
  222. .long 0x6c
  223. .byte 0x2
  224. .byte 0x91
  225. .sleb128 0
  226. .byte 0
  227. .uleb128 0x8
  228. .byte 0x1
  229. .long .LASF3
  230. .byte 0x1
  231. .byte 0x26
  232. .byte 0x1
  233. .long 0x6c
  234. .long .LFB1
  235. .long .LFE1
  236. .long .LLST0
  237. .byte 0x1
  238. .uleb128 0x9
  239. .string "s"
  240. .byte 0x1
  241. .byte 0x28
  242. .long 0x29
  243. .byte 0x6
  244. .byte 0x35
  245. .byte 0x9f
  246. .byte 0x93
  247. .uleb128 0x4
  248. .byte 0x93
  249. .uleb128 0x8
  250. .uleb128 0xa
  251. .string "v"
  252. .byte 0x1
  253. .byte 0x29
  254. .long 0x6c
  255. .long .LLST1
  256. .uleb128 0xb
  257. .long .LVL2
  258. .long 0x73
  259. .uleb128 0xc
  260. .byte 0x2
  261. .byte 0x74
  262. .sleb128 0
  263. .byte 0x1
  264. .byte 0x3a
  265. .byte 0
  266. .byte 0
  267. .byte 0
  268. .section .debug_abbrev,"",@progbits
  269. .Ldebug_abbrev0:
  270. .uleb128 0x1
  271. .uleb128 0x11
  272. .byte 0x1
  273. .uleb128 0x25
  274. .uleb128 0xe
  275. .uleb128 0x13
  276. .uleb128 0xb
  277. .uleb128 0x3
  278. .uleb128 0xe
  279. .uleb128 0x1b
  280. .uleb128 0xe
  281. .uleb128 0x55
  282. .uleb128 0x6
  283. .uleb128 0x11
  284. .uleb128 0x1
  285. .uleb128 0x52
  286. .uleb128 0x1
  287. .uleb128 0x10
  288. .uleb128 0x6
  289. .byte 0
  290. .byte 0
  291. .uleb128 0x2
  292. .uleb128 0x13
  293. .byte 0x1
  294. .uleb128 0x3
  295. .uleb128 0x8
  296. .uleb128 0xb
  297. .uleb128 0xb
  298. .uleb128 0x3a
  299. .uleb128 0xb
  300. .uleb128 0x3b
  301. .uleb128 0xb
  302. .uleb128 0x1
  303. .uleb128 0x13
  304. .byte 0
  305. .byte 0
  306. .uleb128 0x3
  307. .uleb128 0xd
  308. .byte 0
  309. .uleb128 0x3
  310. .uleb128 0x8
  311. .uleb128 0x3a
  312. .uleb128 0xb
  313. .uleb128 0x3b
  314. .uleb128 0xb
  315. .uleb128 0x49
  316. .uleb128 0x13
  317. .uleb128 0x38
  318. .uleb128 0xa
  319. .byte 0
  320. .byte 0
  321. .uleb128 0x4
  322. .uleb128 0xd
  323. .byte 0
  324. .uleb128 0x3
  325. .uleb128 0x8
  326. .uleb128 0x3a
  327. .uleb128 0xb
  328. .uleb128 0x3b
  329. .uleb128 0xb
  330. .uleb128 0x49
  331. .uleb128 0x13
  332. .uleb128 0xb
  333. .uleb128 0xb
  334. .uleb128 0xd
  335. .uleb128 0xb
  336. .uleb128 0xc
  337. .uleb128 0xb
  338. .uleb128 0x38
  339. .uleb128 0xa
  340. .byte 0
  341. .byte 0
  342. .uleb128 0x5
  343. .uleb128 0x24
  344. .byte 0
  345. .uleb128 0xb
  346. .uleb128 0xb
  347. .uleb128 0x3e
  348. .uleb128 0xb
  349. .uleb128 0x3
  350. .uleb128 0x8
  351. .byte 0
  352. .byte 0
  353. .uleb128 0x6
  354. .uleb128 0x2e
  355. .byte 0x1
  356. .uleb128 0x3f
  357. .uleb128 0xc
  358. .uleb128 0x3
  359. .uleb128 0x8
  360. .uleb128 0x3a
  361. .uleb128 0xb
  362. .uleb128 0x3b
  363. .uleb128 0xb
  364. .uleb128 0x27
  365. .uleb128 0xc
  366. .uleb128 0x49
  367. .uleb128 0x13
  368. .uleb128 0x11
  369. .uleb128 0x1
  370. .uleb128 0x12
  371. .uleb128 0x1
  372. .uleb128 0x40
  373. .uleb128 0xa
  374. .uleb128 0x2117
  375. .uleb128 0xc
  376. .uleb128 0x1
  377. .uleb128 0x13
  378. .byte 0
  379. .byte 0
  380. .uleb128 0x7
  381. .uleb128 0x5
  382. .byte 0
  383. .uleb128 0x3
  384. .uleb128 0x8
  385. .uleb128 0x3a
  386. .uleb128 0xb
  387. .uleb128 0x3b
  388. .uleb128 0xb
  389. .uleb128 0x49
  390. .uleb128 0x13
  391. .uleb128 0x2
  392. .uleb128 0xa
  393. .byte 0
  394. .byte 0
  395. .uleb128 0x8
  396. .uleb128 0x2e
  397. .byte 0x1
  398. .uleb128 0x3f
  399. .uleb128 0xc
  400. .uleb128 0x3
  401. .uleb128 0xe
  402. .uleb128 0x3a
  403. .uleb128 0xb
  404. .uleb128 0x3b
  405. .uleb128 0xb
  406. .uleb128 0x27
  407. .uleb128 0xc
  408. .uleb128 0x49
  409. .uleb128 0x13
  410. .uleb128 0x11
  411. .uleb128 0x1
  412. .uleb128 0x12
  413. .uleb128 0x1
  414. .uleb128 0x40
  415. .uleb128 0x6
  416. .uleb128 0x2117
  417. .uleb128 0xc
  418. .byte 0
  419. .byte 0
  420. .uleb128 0x9
  421. .uleb128 0x34
  422. .byte 0
  423. .uleb128 0x3
  424. .uleb128 0x8
  425. .uleb128 0x3a
  426. .uleb128 0xb
  427. .uleb128 0x3b
  428. .uleb128 0xb
  429. .uleb128 0x49
  430. .uleb128 0x13
  431. .uleb128 0x2
  432. .uleb128 0xa
  433. .byte 0
  434. .byte 0
  435. .uleb128 0xa
  436. .uleb128 0x34
  437. .byte 0
  438. .uleb128 0x3
  439. .uleb128 0x8
  440. .uleb128 0x3a
  441. .uleb128 0xb
  442. .uleb128 0x3b
  443. .uleb128 0xb
  444. .uleb128 0x49
  445. .uleb128 0x13
  446. .uleb128 0x2
  447. .uleb128 0x6
  448. .byte 0
  449. .byte 0
  450. .uleb128 0xb
  451. .uleb128 0x4109
  452. .byte 0x1
  453. .uleb128 0x11
  454. .uleb128 0x1
  455. .uleb128 0x31
  456. .uleb128 0x13
  457. .byte 0
  458. .byte 0
  459. .uleb128 0xc
  460. .uleb128 0x410a
  461. .byte 0
  462. .uleb128 0x2
  463. .uleb128 0xa
  464. .uleb128 0x2111
  465. .uleb128 0xa
  466. .byte 0
  467. .byte 0
  468. .byte 0
  469. .section .debug_loc,"",@progbits
  470. .Ldebug_loc0:
  471. .LLST0:
  472. .long .LFB1
  473. .long .LCFI0
  474. .value 0x2
  475. .byte 0x74
  476. .sleb128 4
  477. .long .LCFI0
  478. .long .LCFI1
  479. .value 0x2
  480. .byte 0x74
  481. .sleb128 8
  482. .long .LCFI1
  483. .long .LFE1
  484. .value 0x2
  485. .byte 0x74
  486. .sleb128 4
  487. .long 0
  488. .long 0
  489. .LLST1:
  490. .long .LVL1
  491. .long .LVL2
  492. .value 0x2
  493. .byte 0x3a
  494. .byte 0x9f
  495. .long .LVL2
  496. .long .LVL3
  497. .value 0x3
  498. .byte 0x70
  499. .sleb128 10
  500. .byte 0x9f
  501. .long .LVL3
  502. .long .LFE1
  503. .value 0x3
  504. .byte 0x70
  505. .sleb128 -10
  506. .byte 0x9f
  507. .long 0
  508. .long 0
  509. .section .debug_aranges,"",@progbits
  510. .long 0x24
  511. .value 0x2
  512. .long .Ldebug_info0
  513. .byte 0x4
  514. .byte 0
  515. .value 0
  516. .value 0
  517. .long .Ltext0
  518. .long .Letext0-.Ltext0
  519. .long .LFB1
  520. .long .LFE1-.LFB1
  521. .long 0
  522. .long 0
  523. .section .debug_ranges,"",@progbits
  524. .Ldebug_ranges0:
  525. .long .Ltext0
  526. .long .Letext0
  527. .long .LFB1
  528. .long .LFE1
  529. .long 0
  530. .long 0
  531. .section .debug_line,"",@progbits
  532. .Ldebug_line0:
  533. .section .debug_str,"MS",@progbits,1
  534. .LASF2:
  535. .string "/home/username/"
  536. .LASF1:
  537. .string "pieces-optimized-out.c"
  538. .LASF0:
  539. .string "GNU C 4.7.2"
  540. .LASF3:
  541. .string "main"
  542. .ident "GCC: (GNU) 4.7.2"
  543. .section .note.GNU-stack,"",@progbits