-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LLD][ELF] - Replace one of the tests with a YAML version.
This removes one more binary from the inputs. Differential revision: https://reviews.llvm.org/D59085 llvm-svn: 356334
- Loading branch information
George Rimar
committed
Mar 17, 2019
1 parent
9a44535
commit 738146a
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters