-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace lli with %lli in RUN lines #38872
Comments
FWIW: It seems that for most tools shipping with llvm (llc, opt, etc.) we just use the version with a '%' prefix. I think those are listed in the tools.extend list. I recommend putting the patch up on phabricator and subscribing some people that are active on windows to the review. |
That should have been: ... the version without a '%' prefix |
+1 |
That's because there is no '%'-prefixed version of llc, opt, etc. The majority of tests that run lli use
Thank you for advice, but I'm not sure. The WIP patch was just a simple |
Extended Description
lit.cfg.py
defines substitutions for bothlli
and%lli
, and this isconfusing, especially since there is no actual difference between these two
except that on Windows
%lli
includes an `-mtriple=' flag force-setting ELFobject format.
There is even a FIXME in `test/lit.cfg.py' about this very thing:
It seems like the majority of tests could be converted to use one or the other.
If all tests can be converted to one substitution, the other one should be removed.
If there is a minority of tests that depend on the other substitution,
that substitution should be renamed to something special a la
%llc_dwarf
toclearly indicate that it is a special case and not the default.
I included a patch that converts everything to
%lli
, but I don't know if itreally works because I don't have a Windows machine to test it on.
The text was updated successfully, but these errors were encountered: