150
|
1 # REQUIRES: x86
|
|
2
|
|
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
|
|
4 # RUN: not ld.lld --eh-frame-hdr %t -o /dev/null 2>&1 | FileCheck %s
|
|
5
|
|
6 # CHECK: corrupted .eh_frame: unknown .eh_frame augmentation string:
|
|
7
|
173
|
8 .section .eh_frame,"a",@unwind
|
150
|
9 .byte 0x0E
|
|
10 .byte 0x00
|
|
11 .byte 0x00
|
|
12 .byte 0x00
|
|
13 .byte 0x00
|
|
14 .byte 0x00
|
|
15 .byte 0x00
|
|
16 .byte 0x00
|
|
17 .byte 0x01
|
|
18 .byte 0x01
|
|
19 .byte 0x00
|
|
20 .byte 0x01
|
|
21
|
|
22 .byte 0x01 # LEB128
|
|
23 .byte 0x01 # LEB128
|
|
24
|
|
25 .byte 0x01
|
|
26 .byte 0x01
|
|
27 .byte 0x01
|
|
28 .byte 0x01
|