MaskRay added a comment. Such driver tests are in `clang/test/Driver/`. You may want to read a few existing mips driver tests and musl tests to figure out whether reusing an existing file or creating a new file makes more sense.
You can run a test with `$build/bin/llvm-lit -vv test.c`. `check-clang-driver` runs all test/Driver tests. Before uploading a patch, `check-clang-driver` or `check-clang` (the latter if you suspect other components can be affected). For driver, `check-clang-driver` is usually sufficient. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D80421/new/ https://reviews.llvm.org/D80421 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits