[clang] [Cygwin] Cygwin basic support (PR #74868)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74868 None From 680b2b48925d52c006eee5f26b1173856dfcf376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 00:59:00 +0800 Subject: [PATCH] [Cygwin] Cygwin

[clang] [Cygwin] Cygwin basic support (PR #74868)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74868 From 680b2b48925d52c006eee5f26b1173856dfcf376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 00:59:00 +0800 Subject: [PATCH 1/2] [Cygwin] Cygwin ba

[clang] [Cygwin] Cygwin basic support (PR #74868)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74868 From 680b2b48925d52c006eee5f26b1173856dfcf376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 00:59:00 +0800 Subject: [PATCH 1/3] [Cygwin] Cygwin ba

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74913 None From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH] 1 --- clang/li

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/2] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/3] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/4] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/5] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/6] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/7] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/8] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 1/9] 1 --- clang/lib/

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 01/10] 1 --- clang/li

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 01/11] 1 --- clang/li

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-08 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 01/12] 1 --- clang/li

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 01/13] 1 --- clang/li

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 01/14] 1 --- clang/li

[clang] [Cygwin] Cygwin -fuse-cxa-atexit (PR #74913)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74913 From 75a8486443ef200abe12b4047ac89011ada15802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 13:04:02 +0800 Subject: [PATCH 01/15] 1 --- clang/li

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74933 None From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH] 1 --- clang/li

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH 1/2] 1 --- clang/lib/

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH] 1 --- clang/lib/Driv

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH 1/2] 1 --- clang/lib/

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH 1/3] 1 --- clang/lib/

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH 1/5] 1 --- clang/lib/

[llvm] [clang] [Cygwin] Cygwin general (PR #74936)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74936 Remove some uses of macro __CYGWIN__ . Fix build error by Clang due to the conflict of CIndexer.cpp and mm_malloc.h. In mm_malloc.h, _WIN32 and __CYGWIN__ can't both be defined, but CIndexer.cpp define both.

[clang] [Cygwin] Cygwin general (PR #74936)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74936 From 50e6b5d3cd9e1a8dbcd1608d439cbc3a0deb0a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 00:34:27 +0800 Subject: [PATCH] 1 --- clang/lib/Hea

[clang] [Cygwin] Cygwin general (PR #74936)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin macro (PR #74973)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74973 None From 376c504e6a559be2b538291e066b1a67c05e5a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 14:04:36 +0800 Subject: [PATCH] 1 --- clang/l

[clang] [Cygwin] Cygwin macro (PR #74973)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74973 From 376c504e6a559be2b538291e066b1a67c05e5a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 14:04:36 +0800 Subject: [PATCH 1/2] 1 --- clang/lib

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74977 This fix bootstraping on Cygwin, using GCC 13.2.0 as stage 0 compiler. It seems that the size of CallArgList can't exceed an unknown limit. From 68400fd63fd90703bb092d8f08f6c8cb7289fbe1 Mon Sep 17 00:00:00

[clang] [MinGW] MinGW dynamicbase (PR #74979)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74979 None From e08d12df9f987ad4cf025d4bf1896acf2deea859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:03:28 +0800 Subject: [PATCH] 1 --- clang/l

[clang] [MinGW] MinGW pthread (PR #74981)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74981 None From ea7be98f26824e0065a8228b2986e89a52f9af11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:12:11 +0800 Subject: [PATCH] 1 --- clang/l

[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74982 None From 6be995d68575d4386cc9aeef27f09ab5b5ef5654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:16:38 +0800 Subject: [PATCH] 1 --- clang/i

[clang-tools-extra] [pseudo] gen Main.cpp (PR #74983)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74983 None From 02cbefc8112d73b11f835da30db4ed3344db9d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:27:25 +0800 Subject: [PATCH] 1 --- clang-t

[clang-tools-extra] [pseudo] lib Grammar.cpp (PR #74984)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/74984 None From 3903e0093bea95fef69ca8b6c8c2a8ce74be5d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:31:36 +0800 Subject: [PATCH] 1 --- clang-t

[clang-tools-extra] [pseudo] gen Main.cpp (PR #74983)

2023-12-09 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74983 From 02cbefc8112d73b11f835da30db4ed3344db9d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:27:25 +0800 Subject: [PATCH 1/2] 1 --- clang-too

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-10 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH 1/6] 1 --- clang/lib/

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-10 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > Just FYI submitting lots of PRs with all of them having commits with a commit > message of 1 is not going to go anywhere. They need to be revised with proper > meaningful commit messages. This fix bootstraping on Cygwin, using GCC 13.2.0 as stage 0 compiler. It seems that t

[clang] [Cygwin] Cygwin macro (PR #74973)

2023-12-10 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > Would you please add some tests about your changes? > > Also maybe it will be more useful to write some detailed descriptions, so > others can understand your code easily. Cheers! To keep aligned with Cygwin GCC https://github.com/llvm/llvm-project/pull/74973

[clang] [Cygwin] Cygwin macro (PR #74973)

2023-12-10 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > Would you please add some tests about your changes? > > Also maybe it will be more useful to write some detailed descriptions, so > others can understand your code easily. Cheers! Does to solve any problem. https://github.com/llvm/llvm-project/pull/74973 _

[clang] [Cygwin] Cygwin macro (PR #74973)

2023-12-10 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74973 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-10 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > NFC, and I have build scripts at https://github.com/xu-chiheng/Note When bootstrapping Clang on Cygwin, there are various weird problems. Reducing the size of CallArgList solve them all. https://github.com/llvm/llvm-project/pull/74977 _

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-11 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: I have build scripts and patches at: https://github.com/xu-chiheng/Note On Mon, Dec 11, 2023 at 11:25 PM Yingchi Long ***@***.***> wrote: > When bootstrapping Clang on Cygwin, there are various weird problems. > > What are those "weired problems" > > Reducing the size of CallA

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-12 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > > I have build scripts and patches at: https://github.com/xu-chiheng/Note > > […](#) > > On Mon, Dec 11, 2023 at 11:25 PM Yingchi Long _**@**_._**> wrote: When > > bootstrapping Clang on Cygwin, there are various weird problems. What are > > those "weired problems" Reducing

[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

2023-12-12 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > I don't know what issue/regression you're referring to. Please explain, in > detail, what the issue is and all the relevant aspects of your configuration. > Also explain what the suggested fix does, and how it handles the various > cases (I just tested building latest llvm-

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-12 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > @carlo-bramini has spent some effort on using Clang in Cygwin environments > before, so as far as I know, it does work in general from before. So this > change, which adds an entirely new driver for Cygwin environments, would need > to be explained why it does that (I don't

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-12 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > @carlo-bramini has spent some effort on using Clang in Cygwin environments > before, so as far as I know, it does work in general from before. So this > change, which adds an entirely new driver for Cygwin environments, would need > to be explained why it does that (I don't

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-12 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From daa6702f698724655b91c4fa52272c09924d2d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH 1/7] 1 --- clang/lib/

[clang] [MinGW] MinGW dynamicbase (PR #74979)

2023-12-12 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74979 From e08d12df9f987ad4cf025d4bf1896acf2deea859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:03:28 +0800 Subject: [PATCH 1/2] 1 --- clang/lib

[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

2023-12-12 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > > I have build scripts and patches at: https://github.com/xu-chiheng/Note > > This does not answer the question. You need to explain what is broken, and > why, and how this fixes it. And address the concern that this actually breaks > functionality in some cases. I guess th

[clang] [MinGW] MinGW dynamicbase (PR #74979)

2023-12-12 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > Also In Cygwin with binutils 2.41, --dynamicbase make a difference, so I thought MinGW also need it. https://github.com/llvm/llvm-project/pull/74979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/c

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-13 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > > > > The Cygwin driver is basically the same as MinGW driver with minor > > difference. > > Right. What are the actual observable differences to what was executed > before? (I presume this before used the `Generic_GCC` toolchain?) Also, I > wonder if it would make sense

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-13 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > @carlo-bramini has spent some effort on using Clang in Cygwin environments > before, so as far as I know, it does work in general from before. So this > change, which adds an entirely new driver for Cygwin environments, would need > to be explained why it does that (I don't

[clang] [MinGW] MinGW dynamicbase (PR #74979)

2023-12-13 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > > In Cygwin with binutils 2.41, --dynamicbase make a difference, so I thought > > MinGW also need it. > > No, MinGW does not need it, as it has been enabled by default since binutils > 2.36. > > Apparently that change, > https://sourceware.org/git/?p=binutils-gdb.git;a=c

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-13 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74977 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-13 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > Adding workarounds to LLVM for host compiler bugs is something we do from > time to time, but any such workarounds need to be clearly documented in the > source code, and as narrowly targeted as possible (for example, under an > `#ifdef __CYGWIN__`). > > Since this is an i

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-13 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: As commit 49b27b150b97c190dedf8b45bf991c4b811ed953 2023-12-09, this patch is not needed. https://github.com/llvm/llvm-project/pull/74977 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[clang] [MinGW] MinGW dynamicbase (PR #74979)

2023-12-13 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/74979 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-13 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/74977 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

2023-12-13 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: As commit 49b27b150b97c190dedf8b45bf991c4b811ed953 2023-12-09, this patch is not needed. https://github.com/llvm/llvm-project/pull/74982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

2023-12-13 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/74982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Value.h consider Cygwin (PR #75395)

2023-12-13 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/75395 None From c3da4faacc108d7cdbc92f426571eab65482f8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Thu, 14 Dec 2023 06:38:09 +0800 Subject: [PATCH] 1 --- clang/i

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-18 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng reopened https://github.com/llvm/llvm-project/pull/74977 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

2023-12-18 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng reopened https://github.com/llvm/llvm-project/pull/74982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MinGW] Fix the regression caused by commit 592e935e115ffb451eb9b782376711dab6558fe0, that, in MinGW, Clang can't be built by system Clang 15.0.4. (PR #74982)

2023-12-18 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MinGW] MinGW Value.h (PR #74982)

2023-12-18 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74982 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin general (PR #74936)

2023-12-19 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [pseudo] lib Grammar.cpp (PR #74984)

2023-12-19 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74984 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Value.h consider Cygwin (PR #75395)

2023-12-20 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/75395 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin Value.h (PR #75395)

2023-12-23 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/75395 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin Value.h (PR #75395)

2023-12-23 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/75395 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin driver (PR #74933)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74933 From 40ec69c72a4951953ce96c1ab30ec17a07f430cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 21:51:29 +0800 Subject: [PATCH 1/7] 1 --- clang/lib/

[clang] [Cygwin] Cygwin basic support (PR #74868)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74868 From 35cb22083fc0f842e873c99518a58d673bbcb1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sat, 9 Dec 2023 00:59:00 +0800 Subject: [PATCH 1/3] [Cygwin] Cygwin ba

[clang] [Cygwin] Cygwin general (PR #74936)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74936 From c9cffe8c188d32a9edd1b6316db065bbcc479c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 00:34:27 +0800 Subject: [PATCH] 1 --- clang/lib/Hea

[clang] [Cygwin] Cygwin macro (PR #74973)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74973 From 29f213f8921c38ca8192aa32087e99771a0cfbfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 14:04:36 +0800 Subject: [PATCH 1/2] 1 --- clang/lib

[clang] [MinGW] MinGW Value.h (PR #74982)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74982 From 79391542d94910efe25f09374ef241456609dbde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:16:38 +0800 Subject: [PATCH] 1 --- clang/include

[clang] [MinGW] MinGW pthread (PR #74981)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74981 From 0a90989e77603a49b17eaf44cbbffa9c003afb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:12:11 +0800 Subject: [PATCH] 1 --- clang/lib/Dri

[clang-tools-extra] [pseudo] gen Main.cpp (PR #74983)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74983 From 164ce88e00c341b2507618f67a8971d55f9aee9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:27:25 +0800 Subject: [PATCH 1/2] 1 --- clang-too

[clang-tools-extra] [pseudo] lib Grammar.cpp (PR #74984)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74984 From bba8cd890cb7edcff3852ac6bf225e358d2aaac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 15:31:36 +0800 Subject: [PATCH] 1 --- clang-tools-e

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng updated https://github.com/llvm/llvm-project/pull/74977 From 36031b0f4940d31edf026882ec47cd4bee90e324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=20Xu=20Chiheng?= Date: Sun, 10 Dec 2023 14:52:29 +0800 Subject: [PATCH] 1 --- clang/lib/Cod

[clang] [Cygwin] Reduced number of inline elements of CallArgList. (PR #74977)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74977 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin CGCall.h (PR #74977)

2023-12-31 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74977 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin basic support (PR #74868)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74868 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin basic support (PR #76943)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng created https://github.com/llvm/llvm-project/pull/76943 Enable TLS, and set VaListKind to CharPtrBuiltinVaList. This fix bootstrap failure on Cygwin. From 35cb22083fc0f842e873c99518a58d673bbcb1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=81=E6=81=92=

[clang] [Cygwin] Cygwin basic support (PR #76943)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/76943 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin CGCall.h (PR #74977)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74977 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin macro (PR #74973)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74973 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin general (PR #74936)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin driver (PR #74933)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin basic support (PR #76943)

2024-01-04 Thread Xu Chiheng via cfe-commits
xu-chiheng wrote: > implemented TLS is emulated on Cygwin. This patch works from Clang/LLVM 8 or earlier. https://github.com/llvm/llvm-project/pull/76943 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[clang] [Cygwin] Cygwin general 1 (PR #74936)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin general 0 (PR #74936)

2024-01-04 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin basic support (PR #76943)

2024-04-01 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng converted_to_draft https://github.com/llvm/llvm-project/pull/76943 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin basic support (PR #76943)

2024-04-01 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/76943 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin macro (PR #74973)

2024-04-01 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/74973 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin general 0 (PR #74936)

2024-04-01 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/74936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin driver (PR #74933)

2024-04-01 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng closed https://github.com/llvm/llvm-project/pull/74933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin driver (PR #74933)

2024-01-19 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin general 0 (PR #74936)

2024-01-19 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74936 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Cygwin] Cygwin macro (PR #74973)

2024-01-19 Thread Xu Chiheng via cfe-commits
https://github.com/xu-chiheng edited https://github.com/llvm/llvm-project/pull/74973 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

  1   2   >