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

James Henderson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 03:38:19 PST 2021


jhenderson added a comment.

In D95246#2587167 <https://reviews.llvm.org/D95246#2587167>, @ASDenysPetrov wrote:

> @jhenderson
>
>> Thanks (for clarity, `libz` isn't what I'm looking for, it was just an example of how this information might be useful). As it is, I think we might need more information still - that commandline hides which files are actually used slightly. Could you try explicitly running the c++ command that is being requested, but with the `-Wl,--trace` option added too. That will tell the linker to print what files it opens when it runs the link, and should give us an hint as to which system library is different for your usage than ours.
>
> I added `-W --trace` to the end of cmdline. The output is in the file: F15646704: trace_output.txt <https://reviews.llvm.org/F15646704>

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!


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