[PATCH] D54605: [lld][ELF] Add negative test coverage for unknown "-z" flags.

Kristina Brooks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 15 17:04:48 PST 2018


kristina updated this revision to Diff 174305.
kristina retitled this revision from "[lld][ELF] Use SmallDenseSet::count instead of lots of logical "or" operators and add test coverage for "-z" flags." to "[lld][ELF] Add negative test coverage for unknown "-z" flags.".
kristina added a comment.

Revised to drop the change.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D54605

Files:
  test/ELF/invalid/zunknown-flag.test


Index: test/ELF/invalid/zunknown-flag.test
===================================================================
--- test/ELF/invalid/zunknown-flag.test
+++ test/ELF/invalid/zunknown-flag.test
@@ -0,0 +1,3 @@
+# RUN: not ld.lld -z obviouslyunknownflag 2>&1 | FileCheck --check-prefix=ERR %s
+# ERR: error: unknown -z value: obviouslyunknownflag
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54605.174305.patch
Type: text/x-patch
Size: 345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181116/64efa163/attachment.bin>


More information about the llvm-commits mailing list