[LLVMSymbolize] Move printing the description of a global into a separate function...
[oota-llvm.git] / include / llvm / DebugInfo / DIContext.h
index fa927d9d6bd447dcaee063cc12ca67bc00dcb440..e98665f2b0d2783eaf31f4efba9c2a586d408e4b 100644 (file)
@@ -65,6 +65,15 @@ class DIInliningInfo {
   }
 };
 
+/// DIGlobal - container for description of a global variable.
+struct DIGlobal {
+  std::string Name;
+  uint64_t Start;
+  uint64_t Size;
+
+  DIGlobal() : Name("<invalid>"), Start(0), Size(0) {}
+};
+
 /// A DINameKind is passed to name search methods to specify a
 /// preference regarding the type of name resolution the caller wants.
 enum class DINameKind { None, ShortName, LinkageName };