Export some useful GHC API functions.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 29 Dec 2015 12:43:02 +0000 (13:43 +0100)
committerBen Gamari <ben@smart-cactus.org>
Tue, 29 Dec 2015 13:13:34 +0000 (14:13 +0100)
commit5bb7fecb09f828ea41e5b5a295ea159fa405dcc5
tree1f5e89ec50555aabbbbacf60d3675b1fd445f683
parent4f69203dd7892d3640e871c5914b7ee2be5f5dff
Export some useful GHC API functions.

Working on some code using the GHC API, I found these
functions were useful and wished they were exported.  This
commit exports them.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: hvr, thomie

Differential Revision: https://phabricator.haskell.org/D1710
compiler/main/DriverPhases.hs
compiler/main/DriverPipeline.hs
compiler/main/Finder.hs
compiler/main/GhcMake.hs
ghc/Main.hs