[PATCH] D59085: [LLD][ELF] - Replace one of the tests with a YAML version.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 02:23:17 PDT 2019


grimar added inline comments.


================
Comment at: test/ELF/invalid/data-encoding.test:12
+
+# RUN: not ld.lld %t %t.a -o %t2 2>&1 | FileCheck %s
+# CHECK: {{.*}}.o: invalid data encoding
----------------
MaskRay wrote:
> grimar wrote:
> > ruiu wrote:
> > > It is not clear to me why you had to create an object file in addition to an archive file. Can't you just pass an archive file only?
> > I do not remember right now, sorry. I'll recheck tomorrow.
> If the object file is not passed => `ld.lld: error: target emulation unknown: -m or at least one .o file required`. `--whole-archive` can be used.
Right. I used `--whole-archive`, thanks!


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59085/new/

https://reviews.llvm.org/D59085





More information about the llvm-commits mailing list