[llvm-commits] CVS: llvm/lib/Debugger/ProgramInfo.cpp

Reid Spencer reid at x10sys.com
Sat Apr 7 11:53:45 PDT 2007



Changes in directory llvm/lib/Debugger:

ProgramInfo.cpp updated: 1.21 -> 1.22
---
Log message:

For PR1291: http://llvm.org/PR1291 :
Change uses of sys::Path class to sys::PathWithStatus in those places where
the file status information is needed.


---
Diffs of the changes:  (+1 -1)

 ProgramInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Debugger/ProgramInfo.cpp
diff -u llvm/lib/Debugger/ProgramInfo.cpp:1.21 llvm/lib/Debugger/ProgramInfo.cpp:1.22
--- llvm/lib/Debugger/ProgramInfo.cpp:1.21	Thu Mar 29 14:05:44 2007
+++ llvm/lib/Debugger/ProgramInfo.cpp	Sat Apr  7 13:53:16 2007
@@ -195,7 +195,7 @@
 ProgramInfo::ProgramInfo(Module *m) : M(m), ProgramTimeStamp(0,0) {
   assert(M && "Cannot create program information with a null module!");
   const sys::FileStatus *Stat;
-  Stat = sys::Path(M->getModuleIdentifier()).getFileStatus();
+  Stat = sys::PathWithStatus(M->getModuleIdentifier()).getFileStatus();
   if (Stat)
     ProgramTimeStamp = Stat->getTimestamp();
 






More information about the llvm-commits mailing list