clover/llvm: Factor out LLVM context init.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 17 May 2016 14:02:41 +0000 (16:02 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 12 Jul 2016 03:21:30 +0000 (20:21 -0700)
commit714b167f5705a5eec29b2b83dac0d61c5d5746f2
treef446c86153d376ea0dd68e6c9dfe5b2af3815500
parentfa94055d534b2c2237cfb775066b5a4835dd0849
clover/llvm: Factor out LLVM context init.

So it can be shared between the compilation and linking 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