diff options
author | Matthias Braun <matze@braunis.de> | 2015-05-04 21:36:36 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-05-04 21:36:36 +0000 |
commit | 219144e6a70449caeb1189682445f1e24c851b5a (patch) | |
tree | ff926587d14365133e746c86d118f59981133d90 /llvm/docs/CommandGuide | |
parent | ec2d7358b9facb1c1bd2ec9afa817c920ff85a87 (diff) | |
download | bcm5719-llvm-219144e6a70449caeb1189682445f1e24c851b5a.tar.gz bcm5719-llvm-219144e6a70449caeb1189682445f1e24c851b5a.zip |
Lit: Allow overriding llvm tool paths+arguments, make -D an alias for --param
These changes allow usages where you want to pass an additional
commandline option to all invocations of a specific llvm tool. Example:
> llvm-lit -Dllc=llc -enable-misched -verify-machineinstrs
Differential Revision: http://reviews.llvm.org/D9487
llvm-svn: 236461
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/lit.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/lit.rst b/llvm/docs/CommandGuide/lit.rst index 9c63848a76d..1f97bc31dd7 100644 --- a/llvm/docs/CommandGuide/lit.rst +++ b/llvm/docs/CommandGuide/lit.rst @@ -56,7 +56,7 @@ GENERAL OPTIONS Search for :file:`{NAME}.cfg` and :file:`{NAME}.site.cfg` when searching for test suites, instead of :file:`lit.cfg` and :file:`lit.site.cfg`. -.. option:: --param NAME, --param NAME=VALUE +.. option:: -D NAME, -D NAME=VALUE, --param NAME, --param NAME=VALUE Add a user defined parameter ``NAME`` with the given ``VALUE`` (or the empty string if not given). The meaning and use of these parameters is test suite |