[PATCH] D33937: [ELF] - Allow producing -r output if only empty archive is given.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 08:17:06 PDT 2017


George Rimar via Phabricator <reviews at reviews.llvm.org> writes:
> +# REQUIRES: x86
> +# RUN: echo "" > %t.s
> +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %t.s -o %t.o
> +# RUN: llvm-ar rc %t.a %t.o

This archive is not empty, so this test passes without this patch.

Cheers,
Rafael


More information about the llvm-commits mailing list