[LLVMdev] Can I read llvm version through API?

Duncan Sands baldrick at free.fr
Wed Jul 21 03:39:55 PDT 2010

Hi Yuri,

> Is there an API function exported from libLLVM.so that would return the
> version of llvm compiler used?
> I would like to be able to read not only 2.8 but also the precise source
> version identifier, like svn revision for example. And maybe the build date.

maybe utils/GetSourceVersion will help.



More information about the llvm-dev mailing list