This fixes a few things that used to work with a Makefile build, but were broken in cmake.
Couple of little things, LGTM otherwise.
if(LLVM_LINK_LLVM_DYLIB AND LLVM_DYLIB_EXPORTED_SYMBOL_FILE)
LLVM_BUILD_LLVM_DYLIB is implied by this file being processed, so just make this unconditional?
Address review comments
Since I am new to LLVM I was wondering what the process of landing this is?
I have landed your patch in rL285737.
Thank you for your contribution!