[clang] [llvm] [test] Avoid writing to a potentially write-protected dir (PR #89242)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 18 11:17:42 PDT 2024
================
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -verify -verify-ignore-unexpected
+// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -verify -verify-ignore-unexpected -o /dev/null
----------------
llvm-beanz wrote:
Unless I'm mistaken the clang `-verify` option should prevent writing outputs since it is just running the verifier.
That said, this test shouldn't be passing `-emit-llvm -disable-llvm-passes` because we aren't actually checking the IR.
https://github.com/llvm/llvm-project/pull/89242
More information about the cfe-commits
mailing list