CTX+NGRAM != LTO

This commit is contained in:
van Hauser 2020-05-06 11:55:50 +02:00
parent 80ddb484de
commit ec5b1924c4

View File

@ -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)