[PATCH] D37208: [ELF] - Linkerscript: add test for checking interaction with archive files.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 28 08:47:51 PDT 2017
ruiu added inline comments.
================
Comment at: test/ELF/linkerscript/assignment-archive.s:3
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/assignment-archive.s -o %ta.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
+# RUN: rm -f %tar.a
----------------
I believe you can just feed an empty file by doing `llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t.o < /dev/null` so that you can merge this file with the one under Innputs directory.
https://reviews.llvm.org/D37208
More information about the llvm-commits
mailing list