Expose LLVM version string via macro in llvm-config.h, and modify Go bindings

to make use of it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne
2014-11-19 03:34:17 +00:00
parent 8f4a49f41a
commit 2dea1fe38d
7 changed files with 34 additions and 4 deletions

View File

@@ -92,6 +92,9 @@
/* Minor version of the LLVM API */
#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
/* LLVM version string */
#define LLVM_VERSION_STRING "${PACKAGE_VERSION}"
/* Define if we link Polly to the tools */
#cmakedefine LINK_POLLY_INTO_TOOLS