Lit: Allow overriding llvm tool paths+arguments, make -D an alias for --param
authorMatthias Braun <matze@braunis.de>
Mon, 4 May 2015 21:36:36 +0000 (21:36 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 4 May 2015 21:36:36 +0000 (21:36 +0000)
commit219144e6a70449caeb1189682445f1e24c851b5a
treeff926587d14365133e746c86d118f59981133d90
parentec2d7358b9facb1c1bd2ec9afa817c920ff85a87
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
llvm/docs/CommandGuide/lit.rst
llvm/test/lit.cfg
llvm/utils/lit/lit/main.py