| commit | ea7e55272c7bdfdffc6f8b5bc8adc0f01574eb10 | [log] [tgz] |
|---|---|---|
| author | Chandler Carruth <chandlerc@gmail.com> | Fri Jul 22 07:50:40 2011 +0000 |
| committer | Chandler Carruth <chandlerc@gmail.com> | Fri Jul 22 07:50:40 2011 +0000 |
| tree | 9cf2bd974f716e5895b8302c6798e179d6406ea5 | |
| parent | 516a79e32c6a17bb74f266b9aa36bbf51a767e09 [diff] |
Add an extension point to the CommandLine library where clients can register extra version information to be printed. This is designed to allow those tools which link in various targets to also print those registered targets under --version. Currently this printing logic is embedded into the Support library directly; a huge layering violation. This is the first step to hoisting it out into the tools without adding lots of duplicated code. llvm-svn: 135755