This is an archive of the discontinued LLVM Phabricator instance.

[LLD] [COFF] Print the file name on errors writing the pdb file
ClosedPublic

Authored by mstorsjo on Aug 20 2019, 3:52 AM.

Details

Summary

This avoids confusing contextless error messages such as "No such file or directory" if e.g. the pdb output file should be written to a nonexistent directory. (This can happen with linkrepro scripts, at least old ones.)

As this is more or less NFC, is it ok without a test?

Diff Detail

Event Timeline

mstorsjo created this revision.Aug 20 2019, 3:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2019, 3:52 AM
ruiu accepted this revision.Aug 20 2019, 4:23 AM

LGTM

This revision is now accepted and ready to land.Aug 20 2019, 4:23 AM
This revision was automatically updated to reflect the committed changes.