Have buildModule return an Either value instead of calling error
Have buildModule return an Either value instead of calling error

This function is useful to external callers so it shouldn't just fail.

travitch/llvm-analysis,travitch/llvm-analysis,wangxiayang/llvm-analysis,wangxiayang/llvm-analysis