[llvm-commits] [PATCH] clang -v support for separate clang.git and llvm.git

Eric Christopher echristo at apple.com
Wed Mar 7 14:15:25 PST 2012


On Mar 1, 2012, at 11:51 PM, Andrew Trick <atrick at apple.com> wrote:

> I'd like support for grabbing the llvm source revision from the clang binary. I don't really care how it's done, but I have a patch that I hope is good enough for now. I'd be happy if someone can further improve the version string logic.
> 
> My intention is not to change the version string when clang and llvm are checked out from SVN. It should still be
> "(trunk rNNNNNN)"
> 
> But when you build from clang.git and llvm.git, you're now going to see something like
> "(http://llvm.org/git/clang.git NNN....NNN http://llvm.org/git/llvm.git NNN...NNN)".
> 
> I have scripts that scrape the git ID, combine results from the same build, and compare differences across different builds. I need to know when LLVM changes and clang does not. This happens to always be the case when I commit locally, so it's an important case for me.


No objections here.

-eric



More information about the llvm-commits mailing list