clover/llvm: Implement the -create-library linker option.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 3 Jun 2016 22:46:21 +0000 (15:46 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 12 Jul 2016 03:34:34 +0000 (20:34 -0700)
commitfb3eeb1314c3269818e58e64b460d045ea5b466d
treea6ee389591b60f7cda3462f2d84acc9d8202c14f
parent9de3f4a59f2f588368a5994a9fe49d4136393852
clover/llvm: Implement the -create-library linker option.

[ Serge Martin: disable internalize pass when building a library.
  Otherwise some functions may be inlined and removed ]

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