This is an archive of the discontinued LLVM Phabricator instance.

Remove PDBFileBuilder::build() and related functions.
ClosedPublic

Authored by ruiu on Nov 22 2016, 12:33 PM.

Details

Summary

PDBFileBuilder supports two different ways to create files.
One is PDBFileBuilder::commit. That function takes a filename
and write a result to the file. The other is PDBFileBuilder::build.
That returns a new PDBFile object.

This patch removes the latter because no one is using it and
in a real life situation we are very unlikely to need it.
Even if you need it, it'd be easy to write a new PDB to a memory
buffer and read it back.

Removing PDBFileBuilder::build enables us to remove other classes
build transitively.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu updated this revision to Diff 78926.Nov 22 2016, 12:33 PM
ruiu retitled this revision from to Remove PDBFileBuilder::build() and related functions..
ruiu updated this object.
ruiu added a reviewer: zturner.
ruiu added a subscriber: llvm-commits.
zturner accepted this revision.Nov 22 2016, 12:39 PM
zturner edited edge metadata.
This revision is now accepted and ready to land.Nov 22 2016, 12:39 PM
This revision was automatically updated to reflect the committed changes.