[PATCH] D100197: Enable creation of large response file on z/OS
Abhina Sree via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 12 12:06:25 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG06c8b29d23ac: Enable creation of large response file on z/OS (authored by SeanP, committed by abhina.sreeskantharajan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100197/new/
https://reviews.llvm.org/D100197
Files:
clang/test/Driver/Inputs/gen-response.c
clang/test/Driver/response-file.c
Index: clang/test/Driver/response-file.c
===================================================================
--- clang/test/Driver/response-file.c
+++ clang/test/Driver/response-file.c
@@ -13,7 +13,7 @@
// But there's no guarantee that we actually will (the system limit could be
// *huge*), so just check that invoking cc1 succeeds under these conditions.
//
-// RUN: %clang -E %S/Inputs/gen-response.c | grep DTEST > %t.1.txt
+// RUN: %python -c 'print(*("-DTEST" for x in range(300000)))' >%t.1.txt
// RUN: %clang -E @%t.1.txt %s -v 2>&1 | FileCheck %s -check-prefix=LONG
// LONG: extern int it_works;
Index: clang/test/Driver/Inputs/gen-response.c
===================================================================
--- clang/test/Driver/Inputs/gen-response.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#define M -DTEST
-#define M1 M M M M M M M M M M
-#define M2 M1 M1 M1 M1 M1 M1 M1 M1 M1 M1
-#define M3 M2 M2 M2 M2 M2 M2 M2 M2 M2 M2
-#define M4 M3 M3 M3 M3 M3 M3 M3 M3 M3 M3
-#define M5 M4 M4 M4 M4 M4 M4 M4 M4 M4 M4
-#define TEXT M5 M5 M5
-TEXT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100197.336923.patch
Type: text/x-patch
Size: 1049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210412/393010a1/attachment.bin>
More information about the cfe-commits
mailing list