Previously, it warned on any archive file that has no symbol. It turned out that that is too noisy. With this patch, it warns on such archive file that contains no file. Differential Revision: https://reviews.llvm.org/D25111 llvm-svn: 282885
4 lines
127 B
ArmAsm
4 lines
127 B
ArmAsm
// RUN: llvm-ar rc %t.a
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
// RUN: ld.lld -shared %t.o %t.a -o t
|