Can you add some basic testing in test/Driver for the flag handling, and in test/Preprocessor for the macros that should be predefined? http://reviews.llvm.org/D8784 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/