Add safestack attribute to LLVMAttribute enum and Go bindings. Correct
[oota-llvm.git] / bindings / go / llvm / version.go
index 59385838faae4a1ed47ae9cc348eb9f006326964..d0623be97a9baccd1480109abf0c1e57eff118e6 100644 (file)
@@ -1,3 +1,21 @@
+//===- version.go - LLVM version info -------------------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines LLVM version information.
+//
+//===----------------------------------------------------------------------===//
+
 package llvm
 
-const Version = "3.6.0svn"
+/*
+#include "llvm/Config/llvm-config.h"
+*/
+import "C"
+
+const Version = C.LLVM_VERSION_STRING