forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[llvm-link] use file magic when deciding if input should be l…
…oaded as archive" This reverts commit 55f8c2f.
- Loading branch information
1 parent
80b0f74
commit 9c955b7
Showing
3 changed files
with
18 additions
and
24 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# RUN: echo -e '!<arch>\nwith invalid contents' > %t.fg.a | ||
# RUN: cp %S/Inputs/f.ll %t.fg.a | ||
# RUN: not llvm-link %S/Inputs/h.ll %t.fg.a -o %t.linked.bc 2>&1 | FileCheck %s | ||
|
||
# RUN: rm -f %t.fg.a | ||
# RUN: rm -f %t.linked.bc | ||
|
||
# CHECK: truncated or malformed archive | ||
# CHECK: file too small to be an archive |
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
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