[LLVMdev] Can I read llvm version through API?
baldrick at free.fr
Wed Jul 21 08:39:06 PDT 2010
> On 07/21/2010 03:39, Duncan Sands wrote:
>> maybe utils/GetSourceVersion will help.
> No, I meant can I read the version from the shared library libLLVM.so?
> I guess the answer is "no". So I will make a patch for this.
I think it is already possible to get it from the API:
$ opt -version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.8svn
DEBUG build with assertions.
Built Jul 21 2010 (12:40:48).
Host CPU: core2
More information about the llvm-dev