Remove LLDB's recursive directory deletion function.
LLVM now has such a function, so we use that instead. llvm-svn: 297360
This commit is contained in:
@@ -109,7 +109,7 @@ void DeleteExistingModule(const FileSpec &root_dir_spec,
|
||||
return;
|
||||
|
||||
const auto module_spec_dir = GetModuleDirectory(root_dir_spec, module_uuid);
|
||||
FileSystem::DeleteDirectory(module_spec_dir, true);
|
||||
llvm::sys::fs::remove_directories(module_spec_dir.GetPath());
|
||||
lock.Delete();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user