================ @@ -1,11 +1,10 @@ -// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm -disable-llvm-passes -finclude-default-header -verify %s +// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -emit-llvm-only -o - -disable-llvm-passes -finclude-default-header -verify %s ---------------- mikaelholmen wrote:
I think it's enough to use "-emit-llvm-only" to not produce any output? ``` def emit_llvm_only : Flag<["-"], "emit-llvm-only">, HelpText<"Build ASTs and convert to LLVM, discarding output">; ``` So also adding "-o -" is pointless. It's like saying "Discard output, but write the output to stdout". https://github.com/llvm/llvm-project/pull/189684 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
