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 0x0E
|
|
|
|
.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
|
|
|
|
|
|
|
|
.byte 0x0A # DW_EH_PE_sdata2
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|
|
|
|
.byte 0xFF
|