CTX+NGRAM != LTO
@@ -717,6 +717,9 @@ int main(int argc, char **argv, char **envp) {
}
+ if (instrument_opt_mode && lto_mode)
+ FATAL("CTX and NGRAM can not be used in LTO mode (and would make LTO useless)");
+
if (!instrument_opt_mode) {
if (lto_mode && instrument_mode == INSTRUMENT_CFG)
