[clang] [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (PR #65407)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 20 00:23:50 PDT 2023
================
@@ -0,0 +1,25 @@
+// Please note the following:
+// + we are checking that the first bytes of the PPA2 are 0x3 0x0
+// for C, and 0x3 0x1 for C++
+// + the label for the PPA2 seems to vary on different versions.
+// We try to cover all cases, and use substitution blocks to
+// help write the tests. The contents of the PPA2 itself should
+// not be different.
+// + the [[:space:]] combines the two .byte lines into one pattern.
+// This is necessary because if the lines were separated, the first
+// .byte (i.e., the one for the 3) would, it seems, also match
+// the .byte line below for the 34.
+
+// RUN: %clang --target=s390x-ibm-zos -xc -S -o - %s | FileCheck %s --check-prefix CHECK-C
----------------
MaskRay wrote:
Use `%clang_cc1` in non-driver tests
https://github.com/llvm/llvm-project/pull/65407
More information about the cfe-commits
mailing list