eh4.s 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .text
  2. .align 512
  3. .globl foo
  4. .type foo, @function
  5. foo:
  6. .LFB1:
  7. subq $72, %rsp
  8. .LCFI1:
  9. xorl %eax, %eax
  10. movq %rsp, %rdi
  11. call bar@PLT
  12. addq $72, %rsp
  13. ret
  14. .LFE1:
  15. .size foo, .-foo
  16. .globl bar
  17. .type bar, @function
  18. bar:
  19. .LFB2:
  20. subq $72, %rsp
  21. .LCFI2:
  22. xorl %eax, %eax
  23. movq %rsp, %rdi
  24. call bar@PLT
  25. addq $72, %rsp
  26. ret
  27. .LFE2:
  28. .size bar, .-bar
  29. .section .eh_frame,"a",@progbits
  30. .Lframe1:
  31. .long .LECIE1-.LSCIE1 # Length of Common Information Entry
  32. .LSCIE1:
  33. .long 0x0 # CIE Identifier Tag
  34. .byte 0x1 # CIE Version
  35. .ascii "zR\0" # CIE Augmentation
  36. .uleb128 0x1 # CIE Code Alignment Factor
  37. .sleb128 -8 # CIE Data Alignment Factor
  38. .byte 0x10 # CIE RA Column
  39. .uleb128 0x1 # Augmentation size
  40. .byte 0x1b # FDE Encoding (pcrel sdata4)
  41. .byte 0xc # DW_CFA_def_cfa
  42. .uleb128 0x7
  43. .uleb128 0x8
  44. .byte 0x90 # DW_CFA_offset, column 0x10
  45. .uleb128 0x1
  46. .align 8
  47. .LECIE1:
  48. .LSFDE1:
  49. .long .LEFDE1-.LASFDE1 # FDE Length
  50. .LASFDE1:
  51. .long .LASFDE1-.Lframe1 # FDE CIE offset
  52. .long .LFB1-. # FDE initial location
  53. .long .LFE1-.LFB1 # FDE address range
  54. .uleb128 0x0 # Augmentation size
  55. .byte 0x1 # DW_CFA_set_loc
  56. .long .LCFI1-.
  57. .byte 0xe # DW_CFA_def_cfa_offset
  58. .uleb128 0x50
  59. .align 8
  60. .LEFDE1:
  61. .Lframe2:
  62. .long .LECIE2-.LSCIE2 # Length of Common Information Entry
  63. .LSCIE2:
  64. .long 0x0 # CIE Identifier Tag
  65. .byte 0x1 # CIE Version
  66. .ascii "zR\0" # CIE Augmentation
  67. .uleb128 0x1 # CIE Code Alignment Factor
  68. .sleb128 -8 # CIE Data Alignment Factor
  69. .byte 0x10 # CIE RA Column
  70. .uleb128 0x1 # Augmentation size
  71. .byte 0x1b # FDE Encoding (pcrel sdata4)
  72. .byte 0xc # DW_CFA_def_cfa
  73. .uleb128 0x7
  74. .uleb128 0x8
  75. .byte 0x90 # DW_CFA_offset, column 0x10
  76. .uleb128 0x1
  77. .align 8
  78. .LECIE2:
  79. .LSFDE2:
  80. .long .LEFDE2-.LASFDE2 # FDE Length
  81. .LASFDE2:
  82. .long .LASFDE2-.Lframe2 # FDE CIE offset
  83. .long .LFB2-. # FDE initial location
  84. .long .LFE2-.LFB2 # FDE address range
  85. .uleb128 0x0 # Augmentation size
  86. .byte 0x1 # DW_CFA_set_loc
  87. .long .LCFI2-.
  88. .byte 0xe # DW_CFA_def_cfa_offset
  89. .uleb128 0x50
  90. .align 8
  91. .LEFDE2:
  92. .section .note.GNU-stack,"",@progbits