summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Debugger/ProgramInfo.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-07 18:53:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-07 18:53:16 +0000
commit21b76a9b9915202c9c4084072357b7ed32e60f9d (patch)
tree59b639d250e081baf03dca1815d0168713f26ada /llvm/lib/Debugger/ProgramInfo.cpp
parentceeb918dd105248af4b7c3ba4ffcd4b582ea4daf (diff)
downloadbcm5719-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.cpp2
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();
OpenPOWER on IntegriCloud