fix instrumentation type display

This commit is contained in:
van Hauser
2020-12-28 17:06:55 +01:00
parent 3f871d1d8f
commit d103e39f58

View File

@ -1364,17 +1364,17 @@ int main(int argc, char **argv, char **envp) {
if (clang_mode) { if (clang_mode) {
instrument_mode = CLANG; instrument_mode = INSTRUMENT_CLANG;
} else { } else {
instrument_mode = GCC; instrument_mode = INSTRUMENT_GCC;
} }
} }
if (compiler_mode == CLANG) { instrument_mode = CLANG; } if (compiler_mode == CLANG) { instrument_mode = INSTRUMENT_CLANG; }
if (argc < 2 || strncmp(argv[1], "-h", 2) == 0) { if (argc < 2 || strncmp(argv[1], "-h", 2) == 0) {