[clang] c0a2915 - [SystemZ][z/OS] don't write to source
Mikhail Goncharov via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 06:09:33 PDT 2024
Author: Mikhail Goncharov
Date: 2024-10-08T15:09:23+02:00
New Revision: c0a2915321870672b1870c1ee1d192c07dddcd04
URL: https://github.com/llvm/llvm-project/commit/c0a2915321870672b1870c1ee1d192c07dddcd04
DIFF: https://github.com/llvm/llvm-project/commit/c0a2915321870672b1870c1ee1d192c07dddcd04.diff
LOG: [SystemZ][z/OS] don't write to source
test invoked clang that has tried to write in source directory that
might be readonly #111053
for 4c26a1e4d7e490a38dcd2a24e4c8939075fd4a5a
Added:
Modified:
clang/test/SemaCXX/pragma-pack-packed-2.cpp
Removed:
################################################################################
diff --git a/clang/test/SemaCXX/pragma-pack-packed-2.cpp b/clang/test/SemaCXX/pragma-pack-packed-2.cpp
index 3639addd6fe5fc..f288dc04313e69 100644
--- a/clang/test/SemaCXX/pragma-pack-packed-2.cpp
+++ b/clang/test/SemaCXX/pragma-pack-packed-2.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -triple s390x-ibm-zos -fzos-extensions -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple s390x-ibm-zos -fzos-extensions -fxl-pragma-pack -fsyntax-only -verify %s
-// RUN: %clang -target s390x-ibm-zos -S -emit-llvm -Xclang -verify -fno-xl-pragma-pack %s
+// RUN: %clang -target s390x-ibm-zos -S -emit-llvm -Xclang -verify -fno-xl-pragma-pack -o %t.ll %s
#pragma pack(show) // expected-warning {{value of #pragma pack(show) == 8}}
#pragma pack(twobyte)
More information about the cfe-commits
mailing list