mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
For PR1291:
Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35743 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -51,7 +51,8 @@ void CLIDebugger::startProgramRunning() {
|
||||
// If the program has been modified, reload it!
|
||||
sys::Path Program(Dbg.getProgramPath());
|
||||
std::string Err;
|
||||
const sys::FileStatus *Status = Program.getFileStatus(false, &Err);
|
||||
const sys::FileStatus *Status =
|
||||
sys::PathWithStatus(Program).getFileStatus(false, &Err);
|
||||
if (!Status)
|
||||
throw Err;
|
||||
if (TheProgramInfo->getProgramTimeStamp() != Status->getTimestamp()) {
|
||||
|
Reference in New Issue
Block a user