You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
435 B
18 lines
435 B
# REQUIRES: x86
|
|
|
|
# The object in the archive has invalid data encoding.
|
|
# Check we report this.
|
|
|
|
# RUN: yaml2obj %s -o %t.o
|
|
# RUN: llvm-ar rcS %t.a %t.o
|
|
|
|
# RUN: not ld.lld --whole-archive %t.a -o /dev/null 2>&1 | FileCheck %s
|
|
# CHECK: {{.*}}.a({{.*}}.o): corrupted ELF file: invalid data encoding
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATANONE
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|