Trailing whitespace.
[oota-llvm.git] / include / llvm / Debugger / ProgramInfo.h
index 4420e724189d3b3170a8ed3b0a701ce227ba56ff..8f31d7f13507f1e992dd1f7e57d4e53e10a163fb 100644 (file)
@@ -1,10 +1,10 @@
 //===- ProgramInfo.h - Information about the loaded program -----*- C++ -*-===//
-// 
+//
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
 //===----------------------------------------------------------------------===//
 //
 // This file defines various pieces of information about the currently loaded
@@ -21,6 +21,7 @@
 #ifndef LLVM_DEBUGGER_PROGRAMINFO_H
 #define LLVM_DEBUGGER_PROGRAMINFO_H
 
+#include "llvm/System/TimeValue.h"
 #include <string>
 #include <map>
 #include <vector>
@@ -29,7 +30,7 @@ namespace llvm {
   class GlobalVariable;
   class Module;
   class SourceFile;
-  class SourceLanguage;
+  struct SourceLanguage;
   class ProgramInfo;
 
   /// SourceLanguageCache - SourceLanguage implementations are allowed to cache
@@ -69,7 +70,7 @@ namespace llvm {
   public:
     SourceFileInfo(const GlobalVariable *Desc, const SourceLanguage &Lang);
     ~SourceFileInfo();
-    
+
     const std::string &getBaseName() const { return BaseName; }
     const std::string &getDirectory() const { return Directory; }
     unsigned getDebugVersion() const { return Version; }
@@ -133,7 +134,7 @@ namespace llvm {
 
     /// ProgramTimeStamp - This is the timestamp of the executable file that we
     /// currently have loaded into the debugger.
-    unsigned long long ProgramTimeStamp;
+    sys::TimeValue ProgramTimeStamp;
 
     /// SourceFiles - This map is used to transform source file descriptors into
     /// their corresponding SourceFileInfo objects.  This mapping owns the
@@ -148,7 +149,7 @@ namespace llvm {
     /// with the program, through the getSourceFileFromDesc method.  If ALL of
     /// the source files are needed, the getSourceFiles() method scans the
     /// entire program looking for them.
-    /// 
+    ///
     std::multimap<std::string, SourceFileInfo*> SourceFileIndex;
 
     /// SourceFunctions - This map contains entries functions in the source
@@ -162,7 +163,7 @@ namespace llvm {
     /// effectively a small map from the languages that are active in the
     /// program to their caches.  This can be accessed by the language by the
     /// "getLanguageCache" method.
-    std::vector<std::pair<const SourceLanguage*, 
+    std::vector<std::pair<const SourceLanguage*,
                           SourceLanguageCache*> > LanguageCaches;
   public:
     ProgramInfo(Module *m);
@@ -170,8 +171,8 @@ namespace llvm {
 
     /// getProgramTimeStamp - Return the time-stamp of the program when it was
     /// loaded.
-    unsigned long long getProgramTimeStamp() const { return ProgramTimeStamp; }
-    
+    sys::TimeValue getProgramTimeStamp() const { return ProgramTimeStamp; }
+
     //===------------------------------------------------------------------===//
     // Interfaces to the source code files that make up the program.
     //