Skip to content

Commit f1cc37a

Browse files
committed
[lit] Define PTR_SIZE for IRGenFileCheck.
1 parent cf619e2 commit f1cc37a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lit.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2862,7 +2862,7 @@ else:
28622862

28632863
# A FileCheck that automatically supports a large variety of target
28642864
# conditionalization that's useful in IRGen.
2865-
IRGenFileCheck = '%s --check-prefix=CHECK --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s -DINT=i%s -D#CLASS_METADATA_HEADER=%s' % (
2865+
IRGenFileCheck = '%s --check-prefix=CHECK --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s --check-prefix=CHECK-%s -DINT=i%s -DPTR_SIZE=%s -D#CLASS_METADATA_HEADER=%s' % (
28662866
run_filecheck,
28672867
run_os,
28682868
run_cpu,
@@ -2871,6 +2871,7 @@ IRGenFileCheck = '%s --check-prefix=CHECK --check-prefix=CHECK-%s --check-prefix
28712871
run_ptrauth,
28722872
run_objc_interop,
28732873
run_ptrsize,
2874+
run_ptrsize,
28742875
run_class_metadata_header_size)
28752876
config.substitutions.append( ('%IRGenFileCheck', IRGenFileCheck) )
28762877

0 commit comments

Comments
 (0)