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)
commitcccd128a8ad236e642a32c5aaeaef3ce318a9326
treeb52944579fdab6d9d68a92b3d813bb8ffa8b21ff
parent9cf57f7a88ebb7f20ec85eb762a52a659c418e39
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236461 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CommandGuide/lit.rst
test/lit.cfg
utils/lit/lit/main.py