clover/llvm: Refactor compiler instance initialization.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 25 Jun 2016 23:56:58 +0000 (16:56 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 12 Jul 2016 03:21:08 +0000 (20:21 -0700)
commita27d4ec3b9658c76e6caf19dd9024d901e543a7f
treeeb67dc15c109c49148169d3c4d59a601ee6d8e70
parentc2a167ad73f91f4e9f94a45aba65a01e198fd41f
clover/llvm: Refactor compiler instance initialization.

This will be shared between the compiler and linker codepaths.

Reviewed-by: Serge Martin <edb+mesa@sigluy.net>
Tested-by: Jan Vesely <jan.vesely@rutgers.edu>
src/gallium/state_trackers/clover/llvm/invocation.cpp