This is an archive of the discontinued LLVM Phabricator instance.

[llgo] irgen, driver: modify Compiler.Compile to take a FileSet and Files
ClosedPublic

Authored by pcc on Dec 29 2014, 5:33 AM.

Details

Summary

This change allows clients to generate IR using "files" received from locations
other than the file system. The regular file parser is moved to a new library,
"driver", which is intended to eventually contain much of the logic from
the existing driver.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc updated this revision to Diff 17669.Dec 29 2014, 5:33 AM
pcc retitled this revision from to [llgo] irgen, driver: modify Compiler.Compile to take a FileSet and Files.
pcc updated this object.
pcc edited the test plan for this revision. (Show Details)
pcc added a reviewer: axw.
pcc added a subscriber: Unknown Object (MLST).
axw accepted this revision.Dec 29 2014, 4:55 PM
axw edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 29 2014, 4:55 PM
This revision was automatically updated to reflect the committed changes.
llgo/trunk/irgen/compiler.go