[PATCH] D83152: llvm-nm: add flag to suppress no symbols warning

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 12:53:28 PDT 2020


grimar added inline comments.


================
Comment at: llvm/test/tools/llvm-nm/X86/nm-no-symbols.test:13
+
+# RUN: llvm-nm -no-warning-for-no-symbols %t.o 2>&1 | FileCheck %s -DFILE=%t.o --check-prefix NO-WARNING --allow-empty
+# NO-WARNING-NOT: no symbols
----------------
`-no-warning-for-no-symbols` -> `--no-warning-for-no-symbols`

(there is an agreement to use double dash for long versions of options in tests.
E.g:  use `--reverse-sort` instead of `-reverse-sort`  or just use `-r`.
I think one of the reasons was to make the difference between things like `--reverse-sort` and `-r everse-sort` more obvious).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83152





More information about the llvm-commits mailing list