diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-07 18:53:16 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-07 18:53:16 +0000 |
commit | 21b76a9b9915202c9c4084072357b7ed32e60f9d (patch) | |
tree | 59b639d250e081baf03dca1815d0168713f26ada /llvm/lib/Debugger/ProgramInfo.cpp | |
parent | ceeb918dd105248af4b7c3ba4ffcd4b582ea4daf (diff) | |
download | bcm5719-llvm-21b76a9b9915202c9c4084072357b7ed32e60f9d.tar.gz bcm5719-llvm-21b76a9b9915202c9c4084072357b7ed32e60f9d.zip |
For PR1291:
Change uses of sys::Path class to sys::PathWithStatus in those places where
the file status information is needed.
llvm-svn: 35743
Diffstat (limited to 'llvm/lib/Debugger/ProgramInfo.cpp')
-rw-r--r-- | llvm/lib/Debugger/ProgramInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Debugger/ProgramInfo.cpp b/llvm/lib/Debugger/ProgramInfo.cpp index d811f6075be..833fe7ca167 100644 --- a/llvm/lib/Debugger/ProgramInfo.cpp +++ b/llvm/lib/Debugger/ProgramInfo.cpp @@ -195,7 +195,7 @@ void SourceFunctionInfo::getSourceLocation(unsigned &RetLineNo, 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(); |