No, D4718 does not work as TargetMachine.cpp does not get linked into llvm-mc. I'm not sure why, and can't spend more time on this right now. If you feel like it, you could try fixing it the right way, or just land this cmake patch. http://reviews.llvm.org/D6190