================
@@ -1,3 +1,5 @@
// RUN: %clang_cc1 -source-date-epoch 253402300799 -triple s390x-ibm-zos
-emit-llvm -o - %s | FileCheck %s
// CHECK: {{.*}}"zos_cu_language", !"C"}
// CHECK: {{.*}}"zos_translation_time", i64 253402300799}
+
+// REQUIRES: system-zos
----------------
perry-ca wrote:
Couple of points
- this should be a target based requirement. This will still fail if you ran
lit on z/OS with the default triple being arm.
- the problem is that arm is still using a 32-bit time_t. I'd mark this as
unsupported on arm target(s) rather than only supported on z/os. Most
platforms have moved to 64-bit time_t and this is relevant on those platforms.
Check out clang/test/Preprocessor/SOURCE_DATE_EPOCH.c.
Try this.
```suggestion
// REQUIRES: clang-target-64-bits
```
https://github.com/llvm/llvm-project/pull/210341
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits