This is an archive of the discontinued LLVM Phabricator instance.

[LLD][COFF] Fix pdb loading when the path points to a removable device
ClosedPublic

Authored by aganea on Sep 28 2018, 11:34 AM.

Details

Summary

As described here, this patch fixes the case where an OBJ has a reference to a PDB path which happens to map locally to a removable device, drive which has no media inserted at the time of the link. In that case, the first attempt to load the PDB returns "resource unavailable try again". This prevents retrying the PDB load with the OBJ's path.

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

aganea created this revision.Sep 28 2018, 11:34 AM
thakis accepted this revision.Sep 28 2018, 12:30 PM
This revision is now accepted and ready to land.Sep 28 2018, 12:30 PM
This revision was automatically updated to reflect the committed changes.