This is an archive of the discontinued LLVM Phabricator instance.

[llvm-pdbdump] in yaml2pdb, generate default output filename if none given
ClosedPublic

Authored by inglorion on May 17 2017, 1:18 PM.

Details

Summary

llvm-pdbdump yaml2pdb used to fail with a misleading error
message ("An I/O error occurred on the file system") if no output file
was specified. This change adds an assert to PDBFileBuilder to check
that an output file name is specified, and makes llvm-pdbdump generate
an output file name based on the input file name if no output file
name is explicitly specified.

Diff Detail

Repository
rL LLVM

Event Timeline

inglorion created this revision.May 17 2017, 1:18 PM
zturner accepted this revision.May 17 2017, 1:23 PM
This revision is now accepted and ready to land.May 17 2017, 1:23 PM
This revision was automatically updated to reflect the committed changes.