Getting this error:
"Undefined symbols for architecture x86_64: \"_LLVMInitializeInstCombine\", referenced from: _LLVMLink_LLVMInitializeInstCombine_Wrapper in llvmc60.cpp.o (maybe you meant: _LLVMLink_LLVMInitializeInstCombine_Wrapper) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see \ invocation) make[2]: *** [LLVMLink.dylib] Error 1 make[1]: *** [CMakeFiles/LLVMLink.dir/all] Error 2 make: *** [all] Error 2 "
LLVMInitializeInstCombine is declared extern "C" in the LLVM-C header Initialization.h, but not declared extern "C" surrounding the definition for the function in lib/Transforms/InstCombine/InstructionCombining.cpp.
This fixes 35947
https://bugs.llvm.org/show_bug.cgi?id=35947