Attn: Add build info to binary

Build information will be generated and embedded into the binary. This
info will be displayed in the help text when you execute the binary
without any command line options. This change has a libhei dependency.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I8caf1694f5b656557aa862eefb77b88d0b892d41
diff --git a/analyzer/analyzer_main.cpp b/analyzer/analyzer_main.cpp
index c616f7e..e5be60d 100644
--- a/analyzer/analyzer_main.cpp
+++ b/analyzer/analyzer_main.cpp
@@ -190,4 +190,16 @@
     return attnFound;
 }
 
+//------------------------------------------------------------------------------
+
+/**
+ * @brief Get error isolator build information
+ *
+ * @return Pointer to build information
+ */
+const char* getBuildInfo()
+{
+    return libhei::getBuildInfo();
+}
+
 } // namespace analyzer
diff --git a/analyzer/analyzer_main.hpp b/analyzer/analyzer_main.hpp
index dddf0f9..e0c9f47 100644
--- a/analyzer/analyzer_main.hpp
+++ b/analyzer/analyzer_main.hpp
@@ -21,4 +21,11 @@
  */
 bool analyzeHardware();
 
+/**
+ * @brief Get error analyzer build information
+ *
+ * @return Pointer to build information
+ */
+const char* getBuildInfo();
+
 } // namespace analyzer