[clang] [llvm] [SystemZ][z/OS] Migrate most test case to use HLASM syntax (PR #181222)

Ulrich Weigand via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 13 00:54:12 PST 2026


================
@@ -31,13 +31,17 @@ lpad:
 }
 
 ; Check that offsets to the FD of the personality routine and LSDA are emitted in PPA1
-; CHECK: .byte 145 {{.*PPA1 Flags}}
-; CHECK: Bit 3: 1 = C++ EH block
-; TODO: Emit the value instead of a dummy value.
-; CHECK: Personality routine
-; CHECK: LSDA location
+; CHECK: * PPA1 Flags 4
+; CHECK: *   Bit 3: 1 = C++ EH block
+; CHECK: *   Bit 7: 1 = Name Length and Name
+; CHECK:  DC XL1'91'
+; CHECK: * Personality routine
+; CHECK:  DC XL8'0000000000000020'
+; CHECK: * LSDA location
+; CHECK:  DC XL8'0000000000000028'
 ; Check that the exception table is emitted into .lsda section.
 ; CHECK:  stdin#C CSECT
-; CHECK:  C_WSA64 CATTR ALIGN(2),FILL(0),NOTEXECUTABLE,RMODE(64),PART(.gcc_exception_table.test1)
-; CHECK:  .gcc_exception_table.test1 XATTR LINKAGE(XPLINK),REFERENCE(DATA),SCOPE(SECTION)
-; CHECK: GCC_except_table0:
+; CHECK: C_WSA64 CATTR ALIGN(2),FILL(0),NOTEXECUTABLE,RMODE(64),PART(.gcc_excepti
+; CHECK:                ion_table.test1)
+; CHECK: .gcc_exception_table.test1 XATTR LINKAGE(XPLINK),REFERENCE(DATA),SCOPE(S
+; CHECK:                SECTION)
----------------
uweigand wrote:

It seems the last character is always repeated on the continuation line - is this intentional or a bug?

https://github.com/llvm/llvm-project/pull/181222


More information about the cfe-commits mailing list