================ @@ -0,0 +1,24 @@ +// The -time option prints timing information for the various subcommands in a +// format similar to that used by gcc. When compiling and linking, this will +// include the time to call clang-${LLVM_VERSION_MAJOR} and the linker. Since +// the name of the linker could vary across platforms, and name of the compiler +// could be something different, just check that whatever is printed to stderr +// looks like timing information. + +// RUN: %clang -time -c -O3 -o /dev/null %s 2>&1 \ ---------------- MaskRay wrote:
This requires a hard-coded target triple like `--target=x86_64` and `REQUIRES: x86-registered-target`. Delete unneeded -O3. https://github.com/llvm/llvm-project/pull/109165 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits