2018-06-29 20:19:35 +08:00
|
|
|
# REQUIRES: x86
|
|
|
|
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
|
2018-07-03 01:48:23 +08:00
|
|
|
# RUN: ld.lld --eh-frame-hdr %t -o /dev/null
|
2018-06-29 20:19:35 +08:00
|
|
|
|
2020-02-20 13:27:13 +08:00
|
|
|
.section .eh_frame,"a",@unwind
|
2018-06-29 20:19:35 +08:00
|
|
|
.byte 0x14
|
|
|
|
.byte 0x00
|
|
|
|
.byte 0x00
|
|
|
|
.byte 0x00
|
|
|
|
.byte 0x00
|
|
|
|
.byte 0x00
|
|
|
|
.byte 0x00
|
|
|
|
.byte 0x00
|
|
|
|
.byte 0x01
|
|
|
|
|
|
|
|
.byte 0x50 # Augmentation string: 'P','\0'
|
|
|
|
.byte 0x00
|
|
|
|
|
|
|
|
.byte 0x01
|
|
|
|
|
|
|
|
.byte 0x01 # LEB128
|
|
|
|
.byte 0x01 # LEB128
|
|
|
|
|
2018-07-20 16:07:33 +08:00
|
|
|
.byte 0x00 # DW_EH_PE_absptr
|
2018-06-29 20:19:35 +08:00
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
|
|
|
|
.byte 0xFF
|