[LLVMdev] Can I read llvm version through API?

Yuri yuri at rawbw.com
Tue Jul 20 15:09:15 PDT 2010


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.

Yuri



More information about the llvm-dev mailing list