diff options
Diffstat (limited to 'test/ELF/invalid-cie-length4.s')
-rw-r--r-- | test/ELF/invalid-cie-length4.s | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/ELF/invalid-cie-length4.s b/test/ELF/invalid-cie-length4.s index 8c7cc00dfcaf..04f8eb2cca6b 100644 --- a/test/ELF/invalid-cie-length4.s +++ b/test/ELF/invalid-cie-length4.s @@ -3,8 +3,9 @@ // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t // RUN: not ld.lld %t -o %t2 2>&1 | FileCheck %s - .section .eh_frame - .long 0xFFFFFFFF - .byte 0 +.section .eh_frame +.long 0xFFFFFFFF +.byte 0 -// CHECK: {{.*}}:(.eh_frame+0x0): CIE/FDE too large +// CHECK: error: corrupted .eh_frame: CIE/FDE too large +// CHECK-NEXT: >>> defined in {{.*}}:(.eh_frame+0x0) |