[PATCH] D95246: [test] Use host platform specific error message substitution in lit tests

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 03:49:12 PST 2021


ASDenysPetrov added a comment.

@jhenderson

> Sorry, but `-W --trace` is not the same as `-Wl,--trace`. The former is a pair of options used by the compiler (one of which describes the files used by the compiler). The latter is an option passed to the linker, and is what we need. Please try again!

I used `-W`, because my `c++` doesn't know `-Wl` option.

  C:\Users\Denis>c++ -Wl
  c++: error: unrecognized command-line option '-Wl'; did you mean '-W'?
  c++: fatal error: no input files
  compilation terminated.

Could you provide exact cmd line me to use if I'm doing smth wrong?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95246



More information about the cfe-commits mailing list