[PATCH] D26852: [ELF] Print archive name when it fails to parse

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 09:32:36 PST 2016


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/ELF/bad-archive.s:6-7
+// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
+// RUN: echo "!<arch>" > %t.bad.a
+// RUN: echo "bad archive" >> %t.bad.a
+// RUN: not ld.lld %t.o %t.bad.a -o %t 2>&1 | FileCheck %s
----------------
You can combine these two echos.


Repository:
  rL LLVM

https://reviews.llvm.org/D26852





More information about the llvm-commits mailing list