Skip to content

[windows] fix flaky linker error when building LLDB #138249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
75844e4
Merge commit '4609b6a3e76e' from llvm.org/main into next
Apr 29, 2025
f9def57
Merge commit '082598a64d1f' from llvm.org/main into next
Apr 29, 2025
09009d6
Merge commit '6edcb52f4031' from llvm.org/main into next
Apr 29, 2025
fa47e22
Merge commit 'e33cf4b0782b' from llvm.org/main into next
Apr 29, 2025
805f1e1
Merge commit '93321966d90b' from llvm.org/main into next
Apr 29, 2025
1312222
Merge commit '89c5c3ba3849' from llvm.org/main into next
Apr 29, 2025
956116b
Merge commit '50d3febf1700' from llvm.org/main into next
Apr 29, 2025
e6cb3ad
Merge commit 'ebeae6402d96' from llvm.org/main into next
Apr 29, 2025
eb9ccff
Merge commit 'df267d77f6cc' from llvm.org/main into next
Apr 29, 2025
2639b6e
Merge commit 'bd6addc032b1' from llvm.org/main into next
Apr 29, 2025
4af1a5a
Merge commit 'd68b446933aa' from llvm.org/main into next
Apr 29, 2025
0f765ec
Merge commit '81870cbcc259' from llvm.org/main into next
Apr 29, 2025
5f7f522
Merge commit '0b5daeb2e55e' from llvm.org/main into next
Apr 29, 2025
1ef923e
Merge commit 'c5bf901b1b28' from llvm.org/main into next
Apr 29, 2025
63bb713
Merge commit '5e4ec04063e0' from llvm.org/main into next
Apr 29, 2025
3edd632
Merge commit '2f976956e5cc' from llvm.org/main into next
Apr 29, 2025
ff1cbbc
Merge commit 'b0f2bfc7e454' from llvm.org/main into next
Apr 29, 2025
4630668
Merge commit '24661001281d' from llvm.org/main into next
Apr 29, 2025
bf53a53
Merge commit 'faf87e141438' from llvm.org/main into next
Apr 29, 2025
cc7de2a
Merge commit '78d95cc54455' from llvm.org/main into next
Apr 29, 2025
0a46cf6
Merge commit '1e31f4b5eb96' from llvm.org/main into next
Apr 29, 2025
690a5d9
Merge commit '837d5a740f12' from llvm.org/main into next
Apr 29, 2025
c7bdd7c
Merge commit '4560ff8740c5' from llvm.org/main into next
Apr 29, 2025
ebd01be
Merge commit 'f02c93d707c0' from llvm.org/main into next
Apr 29, 2025
05ae166
Merge commit 'cc0cf7253967' from llvm.org/main into next
Apr 29, 2025
49dea8c
Merge commit '6695976d16d0' from llvm.org/main into next
Apr 29, 2025
ae5d6ec
Merge commit 'db2315afa8db' from llvm.org/main into next
Apr 29, 2025
dd4e604
Merge commit 'db2315afa8db' from llvm.org/main into next
Apr 29, 2025
8ffd689
Merge commit '1433c3e997ef' from llvm.org/main into next
Apr 29, 2025
401628e
Merge commit '1433c3e997ef' from llvm.org/main into next
Apr 29, 2025
f835ef1
Merge commit 'c5c4f0d11ca0' from llvm.org/main into next
Apr 29, 2025
7426172
Merge commit 'c5c4f0d11ca0' from llvm.org/main into next
Apr 29, 2025
fa7b2ac
Merge commit 'c5c4f0d11ca0' from llvm.org/main into next
Apr 29, 2025
468a941
Merge commit 'c5d780bb727e' from llvm.org/main into next
Apr 29, 2025
ab2548e
Merge commit 'c5d780bb727e' from llvm.org/main into next
Apr 29, 2025
c48652c
Merge commit 'c5d780bb727e' from llvm.org/main into next
Apr 29, 2025
ba477ed
Merge commit '2e713af20e58' from llvm.org/main into next
Apr 29, 2025
4727792
Merge commit '2e713af20e58' from llvm.org/main into next
Apr 29, 2025
8ed9ead
Merge commit '2e713af20e58' from llvm.org/main into next
Apr 29, 2025
9cffb6f
Merge commit '65b0d21eb490' from llvm.org/main into next
Apr 29, 2025
0ae9214
Merge commit '65b0d21eb490' from llvm.org/main into next
Apr 29, 2025
0e8c5b4
Merge commit '65b0d21eb490' from llvm.org/main into next
Apr 29, 2025
04add60
Merge commit '55b4e5e51545' from llvm.org/main into next
Apr 29, 2025
fd6f859
Merge commit '55b4e5e51545' from llvm.org/main into next
Apr 29, 2025
8bf65de
Merge commit '55b4e5e51545' from llvm.org/main into next
Apr 29, 2025
ef78e2d
Merge commit '94dc0a0e7bc7' from llvm.org/main into next
Apr 29, 2025
f481114
Merge commit '94dc0a0e7bc7' from llvm.org/main into next
Apr 29, 2025
ccf0148
Merge commit '94dc0a0e7bc7' from llvm.org/main into next
Apr 29, 2025
40c79ca
Merge commit '67783eb16666' from llvm.org/main into next
Apr 29, 2025
729fa82
Merge commit '67783eb16666' from llvm.org/main into next
Apr 29, 2025
e282846
Merge commit '67783eb16666' from llvm.org/main into next
Apr 29, 2025
d3762d5
Merge commit '3f8035961f08' from llvm.org/main into next
Apr 29, 2025
4d5d1f6
Merge commit '3f8035961f08' from llvm.org/main into next
Apr 29, 2025
43ac824
Merge commit '3f8035961f08' from llvm.org/main into next
Apr 29, 2025
ec1d726
Merge commit '6ffccea1c2b8' from llvm.org/main into next
Apr 29, 2025
761c2b3
Merge commit '6ffccea1c2b8' from llvm.org/main into next
Apr 29, 2025
cad83df
Merge commit '6ffccea1c2b8' from llvm.org/main into next
Apr 29, 2025
4856879
Merge commit 'b62afbccc8da' from llvm.org/main into next
Apr 29, 2025
1cca7e9
Merge commit 'b62afbccc8da' from llvm.org/main into next
Apr 29, 2025
cae193f
Merge commit 'b62afbccc8da' from llvm.org/main into next
Apr 29, 2025
b156ae8
Merge commit 'ac65b2c327d7' from llvm.org/main into next
Apr 29, 2025
2cd028f
Merge commit 'ac65b2c327d7' from llvm.org/main into next
Apr 29, 2025
9df7694
Merge commit 'ac65b2c327d7' from llvm.org/main into next
Apr 29, 2025
c16f1ab
Merge commit 'cf7301aeb808' from llvm.org/main into next
Apr 29, 2025
82428e6
Merge commit 'cf7301aeb808' from llvm.org/main into next
Apr 29, 2025
b245646
Merge commit 'cf7301aeb808' from llvm.org/main into next
Apr 29, 2025
8c7bd0b
Merge commit '900505900e20' from llvm.org/main into next
Apr 29, 2025
fc20304
Merge commit '900505900e20' from llvm.org/main into next
Apr 29, 2025
bd0eafc
Merge commit '900505900e20' from llvm.org/main into next
Apr 29, 2025
96c5624
Merge commit '316a6ff3d08f' from llvm.org/main into next
Apr 29, 2025
d1a7eb1
Merge commit '316a6ff3d08f' from llvm.org/main into next
Apr 29, 2025
072900c
Merge commit '316a6ff3d08f' from llvm.org/main into next
Apr 29, 2025
1454871
Merge commit '3081ec12491a' from llvm.org/main into next
Apr 29, 2025
f08946f
Merge commit '3081ec12491a' from llvm.org/main into next
Apr 29, 2025
62e7f56
Merge commit '3081ec12491a' from llvm.org/main into next
Apr 29, 2025
32e9259
Merge commit '55287705691a' from llvm.org/main into next
Apr 29, 2025
cd4fb83
Merge commit '55287705691a' from llvm.org/main into next
Apr 29, 2025
5b9ec11
Merge commit '55287705691a' from llvm.org/main into next
Apr 29, 2025
dbe45d0
Merge commit '9d1f1c4c8b5e' from llvm.org/main into next
Apr 29, 2025
389bc57
Merge commit '9d1f1c4c8b5e' from llvm.org/main into next
Apr 29, 2025
b0aedb3
Merge commit '30bedb318611' from llvm.org/main into next
Apr 29, 2025
05da779
Merge commit '30bedb318611' from llvm.org/main into next
Apr 29, 2025
6fdbcc0
Merge commit 'f37ab152540d' from llvm.org/main into next
Apr 29, 2025
7db1ba0
Merge commit 'f37ab152540d' from llvm.org/main into next
Apr 29, 2025
573dc2a
Merge commit 'ad66e5495d59' from llvm.org/main into next
Apr 29, 2025
51bc514
Merge commit 'ad66e5495d59' from llvm.org/main into next
Apr 29, 2025
d363e45
Merge commit 'd20796dab776' from llvm.org/main into next
Apr 29, 2025
c66d8f6
Merge commit 'd20796dab776' from llvm.org/main into next
Apr 29, 2025
c8b6202
Merge commit '7b70fc74d039' from llvm.org/main into next
Apr 29, 2025
6dece9d
Merge commit '7b70fc74d039' from llvm.org/main into next
Apr 29, 2025
d3f254e
Merge commit '6022a5214b59' from llvm.org/main into next
Apr 29, 2025
eda639e
Merge commit '6022a5214b59' from llvm.org/main into next
Apr 29, 2025
d55ce96
Merge commit 'd63703842937' from llvm.org/main into next
Apr 29, 2025
6ff7e19
Merge commit 'd63703842937' from llvm.org/main into next
Apr 29, 2025
a725f7a
Merge commit '694a42f018d0' from llvm.org/main into next
Apr 29, 2025
b687af0
Merge commit '694a42f018d0' from llvm.org/main into next
Apr 29, 2025
13f5998
Merge commit '5cec6f6f2d0a' from llvm.org/main into next
Apr 29, 2025
0b54cd3
Merge commit '5cec6f6f2d0a' from llvm.org/main into next
Apr 29, 2025
26d8e66
Merge commit '82c036e2de4e' from llvm.org/main into next
Apr 29, 2025
a95ebed
Merge commit '82c036e2de4e' from llvm.org/main into next
Apr 29, 2025
e6ce693
Merge commit 'bd3dde0f871c' from llvm.org/main into next
Apr 29, 2025
a0f0cca
Merge commit 'ea688c031e99' from llvm.org/main into next
Apr 29, 2025
94bae9e
Merge commit 'bd3dde0f871c' from llvm.org/main into next
cyndyishida Apr 29, 2025
c544ab2
Merge commit 'bd3dde0f871c' from llvm.org/main into next
Apr 29, 2025
77815a1
Merge commit 'ea688c031e99' from llvm.org/main into next
Apr 29, 2025
d5ef99d
Merge commit 'e07307b53457' from llvm.org/main into next
Apr 29, 2025
72b6aea
Merge commit 'e07307b53457' from llvm.org/main into next
Apr 29, 2025
e99d076
Merge commit '0f90a7b323bc' from llvm.org/main into next
jansvoboda11 Apr 29, 2025
c3633ac
Merge commit '0f90a7b323bc' from llvm.org/main into next
Apr 29, 2025
85ad70c
Merge commit '743c32eb8195' from llvm.org/main into next
Apr 29, 2025
e8c15e7
Merge commit '743c32eb8195' from llvm.org/main into next
Apr 29, 2025
f9a9943
Merge commit '7d91cf4bab8c' from llvm.org/main into next
Apr 29, 2025
d1b027e
Merge commit '7d91cf4bab8c' from llvm.org/main into next
Apr 29, 2025
e9e36e1
Merge commit 'e33b7a1d6388' from llvm.org/main into next
Apr 29, 2025
e25a0f2
Merge commit 'e33b7a1d6388' from llvm.org/main into next
Apr 29, 2025
ba9747d
Merge commit '4ed8f38e814d' from llvm.org/main into next
Apr 29, 2025
91dc34a
Merge commit '4ed8f38e814d' from llvm.org/main into next
Apr 29, 2025
1873a7d
Merge commit '0864e3c8a933' from llvm.org/main into next
Apr 29, 2025
5afb2db
Merge commit '0864e3c8a933' from llvm.org/main into next
Apr 29, 2025
7d6352e
Merge commit '705ceff7c1fc' from llvm.org/main into next
Apr 29, 2025
231bf84
Merge commit '705ceff7c1fc' from llvm.org/main into next
Apr 29, 2025
5cd43f9
Merge commit 'becd418626e1' from llvm.org/main into next
Apr 29, 2025
7eec195
Merge commit 'becd418626e1' from llvm.org/main into next
Apr 29, 2025
59f103a
Merge commit 'f784fa727543' from llvm.org/main into next
Apr 29, 2025
5377f7d
Merge commit 'f784fa727543' from llvm.org/main into next
Apr 29, 2025
ad896bc
Merge commit 'c88b53777130' from llvm.org/main into next
Apr 29, 2025
c6dbad0
Merge commit 'c88b53777130' from llvm.org/main into next
Apr 29, 2025
a08caf6
Merge commit 'db2315afa8db' from llvm.org/main into next
jansvoboda11 Apr 29, 2025
991221d
Merge commit '7dd8122d4ea1' from llvm.org/main into next
Apr 29, 2025
e4dc012
Merge commit '7dd8122d4ea1' from llvm.org/main into next
Apr 29, 2025
378c41b
Fix ClangCASTests CMake rule after #134196
jansvoboda11 Apr 29, 2025
bcf0d72
Merge commit '1433c3e997ef' from llvm.org/main into next
Apr 29, 2025
8a3a5e0
Merge commit 'd3d35adcd32c' from llvm.org/main into next
Apr 29, 2025
701fbb4
Merge commit 'd3d35adcd32c' from llvm.org/main into next
Apr 29, 2025
042d06a
Merge commit '1a6b0413e047' from llvm.org/main into next
Apr 29, 2025
3877367
Merge commit '1a6b0413e047' from llvm.org/main into next
Apr 29, 2025
b475cca
Merge commit '9ebaa9d48374' from llvm.org/main into next
Apr 29, 2025
21717c7
Merge commit '9ebaa9d48374' from llvm.org/main into next
Apr 29, 2025
b7d7d12
Merge commit '7e71466900f8' from llvm.org/main into next
Apr 29, 2025
c6a4ff5
Merge commit '7e71466900f8' from llvm.org/main into next
Apr 29, 2025
5ba997c
Merge commit 'fff622fbf760' from llvm.org/main into next
Apr 29, 2025
4c69bc6
Merge commit 'fff622fbf760' from llvm.org/main into next
Apr 29, 2025
56d8fc4
Merge commit '74593f667823' from llvm.org/main into next
Apr 29, 2025
dcb0eec
Merge commit '74593f667823' from llvm.org/main into next
Apr 29, 2025
e1283fc
Merge commit '6a16da75d1d5' from llvm.org/main into next
Apr 29, 2025
e5fdcec
Merge commit '6a16da75d1d5' from llvm.org/main into next
Apr 29, 2025
97e82be
Merge commit 'e17122fffa8d' from llvm.org/main into next
Apr 29, 2025
03ff54c
Merge commit 'e17122fffa8d' from llvm.org/main into next
Apr 29, 2025
fe9e2df
Merge commit '740f674917a4' from llvm.org/main into next
Apr 29, 2025
9b283ab
Merge commit '740f674917a4' from llvm.org/main into next
Apr 29, 2025
d25ca86
Merge commit 'd431921677ae' from llvm.org/main into next
Apr 29, 2025
cb23255
Merge commit 'd431921677ae' from llvm.org/main into next
Apr 29, 2025
ba554a0
Merge commit 'c85e43bd45fe' from llvm.org/main into next
Apr 29, 2025
845baba
Merge commit 'e0660edf22ed' from llvm.org/main into next
Apr 29, 2025
00350b4
Merge commit 'c85e43bd45fe' from llvm.org/main into next
jansvoboda11 Apr 29, 2025
e69e4be
Merge commit 'e0660edf22ed' from llvm.org/main into next
Apr 29, 2025
e0237ea
Merge commit '97ec3ef4ab0e' from llvm.org/main into next
Apr 29, 2025
630cc06
Merge commit '97ec3ef4ab0e' from llvm.org/main into next
Apr 29, 2025
f7c8a1f
Disable test on ASAN
rastogishubham Apr 22, 2025
1c19e68
Merge pull request #10584 from rastogishubham/DisableTestASAN
rastogishubham Apr 29, 2025
edeefc7
Merge commit 'c85e43bd45fe' from llvm.org/main into next
Apr 29, 2025
c47cbe4
Merge commit 'a24457eb99d5' from llvm.org/main into next
Apr 29, 2025
74e3498
Merge commit '557ddc2e5d06' from llvm.org/main into next
ian-twilightcoder Apr 29, 2025
7abab70
Merge commit '557ddc2e5d06' from llvm.org/main into next
Apr 29, 2025
c963c8b
Merge commit 'f73db3df80e6' from llvm.org/main into next
Apr 29, 2025
d1e8eac
Merge commit 'a7402b0c4ac1' from llvm.org/main into next
Apr 30, 2025
b7c09a2
Merge commit '951292be2c21' from llvm.org/main into next
Apr 30, 2025
2267faf
Merge commit '4595e8092ed5' from llvm.org/main into next
Apr 30, 2025
b33368e
Merge commit '7ecd81e26617' from llvm.org/main into next
Apr 30, 2025
44fc9bf
Merge commit 'c68535581135' from llvm.org/main into next
Apr 30, 2025
6e2428a
Merge commit 'd5272e4f4130' from llvm.org/main into next
Apr 30, 2025
8e10d9b
Merge commit '36850a028d14' from llvm.org/main into next
Apr 30, 2025
39c7ba2
Merge commit 'efef83e11d6b' from llvm.org/main into next
Apr 30, 2025
6d3b5ab
Merge commit 'a01a5b82dc89' from llvm.org/main into next
Apr 30, 2025
6d8a573
Merge commit '6bb4ce0f6ff4' from llvm.org/main into next
Apr 30, 2025
3acbb86
Merge commit 'f1750300aad0' from llvm.org/main into next
Apr 30, 2025
c81cfe1
Merge commit 'b8bb1ccb4f91' from llvm.org/main into next
Apr 30, 2025
f798637
Merge commit 'baaed16a6b86' from llvm.org/main into next
Apr 30, 2025
1d0b812
Merge commit '512225563148' from llvm.org/main into next
Apr 30, 2025
3e7884e
Merge commit '159628cc2287' from llvm.org/main into next
Apr 30, 2025
76f44f7
Merge commit '44d8aa8139e0' from llvm.org/main into next
Apr 30, 2025
af31eab
Merge commit '23c3c4e40304' from llvm.org/main into next
Apr 30, 2025
fdfb4cb
Merge commit 'dc87d21aca34' from llvm.org/main into next
Apr 30, 2025
b13876a
Merge commit '4075a3698a3f' from llvm.org/main into next
Apr 30, 2025
5bacccd
Merge commit '830cf36bd4c4' from llvm.org/main into next
Apr 30, 2025
220e1d2
Merge commit 'e8c684a0e429' from llvm.org/main into next
Apr 30, 2025
3867260
Merge commit '5f22b84b653e' from llvm.org/main into next
Apr 30, 2025
ac06c45
Merge commit '78a1d92870b5' from llvm.org/main into next
Apr 30, 2025
2fe7632
Merge commit 'e803c20863f5' from llvm.org/main into next
Apr 30, 2025
6856221
Merge commit 'e4332e470678' from llvm.org/main into next
Apr 30, 2025
cf6c6b7
Merge commit '857ac4c229d2' from llvm.org/main into next
Apr 30, 2025
b011611
Merge commit '96eeb6c1a93a' from llvm.org/main into next
Apr 30, 2025
82400b1
Merge commit '4bf93c098c8b' from llvm.org/main into next
Apr 30, 2025
f733b8e
Merge commit 'af497d9a658e' from llvm.org/main into next
Apr 30, 2025
774cf8d
Merge commit 'c96f019fa3bc' from llvm.org/main into next
Apr 30, 2025
8da5daa
Merge commit '38cb7d5e7591' from llvm.org/main into next
Apr 30, 2025
014e429
Merge commit '7752e0a10b25' from llvm.org/main into next
Apr 30, 2025
538d5aa
Merge commit 'b2627851373e' from llvm.org/main into next
Apr 30, 2025
1d405a4
Merge commit 'c91c3f930cfc' from llvm.org/main into next
Apr 30, 2025
a1cf27a
Merge commit '7318074168e3' from llvm.org/main into next
Apr 30, 2025
15084be
Merge commit '55d0610e7bbe' from llvm.org/main into next
Apr 30, 2025
511f67e
Merge commit '53a8b8900397' from llvm.org/main into next
Apr 30, 2025
9278080
Merge commit 'db859db74d0a' from llvm.org/main into next
Apr 30, 2025
293d7b3
Merge commit 'f62f36b91de6' from llvm.org/main into next
Apr 30, 2025
98787be
Merge commit 'e91cbd4f299f' from llvm.org/main into next
Apr 30, 2025
35d6e15
Merge commit '99cb3f7ac628' from llvm.org/main into next
Apr 30, 2025
97b5f31
Merge commit '8f75747935c6' from llvm.org/main into next
Apr 30, 2025
e9bc52b
Merge commit '51c260230004' from llvm.org/main into next
Apr 30, 2025
d96b68b
Merge commit '08f0aa48006a' from llvm.org/main into next
Apr 30, 2025
6ffb4d1
Merge commit 'bb2f7596a8b9' from llvm.org/main into next
Apr 30, 2025
18a4a69
Merge commit '3e523502a159' from llvm.org/main into next
Apr 30, 2025
5fdcdab
Merge commit '04aa5a88d17f' from llvm.org/main into next
Apr 30, 2025
25f6abd
Merge commit '6951d5d6cff4' from llvm.org/main into next
Apr 30, 2025
4b3289c
Merge commit '1cf1dc340dcc' from llvm.org/main into next
Apr 30, 2025
8a91578
Merge commit '6ae7177de8d1' from llvm.org/main into next
Apr 30, 2025
e6a6538
Merge commit '77581e27514d' from llvm.org/main into next
Apr 30, 2025
d06cef3
Merge commit '92195f6fc873' from llvm.org/main into next
Apr 30, 2025
3f072f2
Merge commit 'd68c732473a1' from llvm.org/main into next
Apr 30, 2025
7d4f58e
Merge commit '3dc3d431e738' from llvm.org/main into next
Apr 30, 2025
7d9683c
Merge commit 'f2b8539803ea' from llvm.org/main into next
Apr 30, 2025
4b283af
Merge commit '6e43cdbc25e9' from llvm.org/main into next
Apr 30, 2025
0b5c48a
Merge commit '6dfd35457123' from llvm.org/main into next
Apr 30, 2025
1c02017
Merge commit '26da8870ede8' from llvm.org/main into next
Apr 30, 2025
63fd097
Merge commit '120e94035656' from llvm.org/main into next
Apr 30, 2025
a832ad5
Merge commit '101fd87f98c9' from llvm.org/main into next
Apr 30, 2025
ae80c17
Merge commit '5b6fc610919c' from llvm.org/main into next
Apr 30, 2025
3445938
Merge commit '8dc89e34199b' from llvm.org/main into next
Apr 30, 2025
7fe1255
Merge commit '730f4a1ab3b6' from llvm.org/main into next
Apr 30, 2025
412e5cc
Merge commit '1180740ced02' from llvm.org/main into next
Apr 30, 2025
fbcf4f5
Merge commit '5b20b5721a06' from llvm.org/main into next
Apr 30, 2025
9444e90
Merge commit '3b12bac6d1b3' from llvm.org/main into next
Apr 30, 2025
558c81f
Merge commit 'de6d010f4e3f' from llvm.org/main into next
Apr 30, 2025
99aa212
Merge commit '0d6c9f32735a' from llvm.org/main into next
Apr 30, 2025
9015ce6
Merge commit 'f1248d6347a3' from llvm.org/main into next
Apr 30, 2025
bd1324f
Merge commit '6feb4a8ef4d1' from llvm.org/main into next
Apr 30, 2025
4d0f8ab
Merge commit '0ba136147814' from llvm.org/main into next
Apr 30, 2025
bc867f1
Merge commit 'e87aaaf3274d' from llvm.org/main into next
Apr 30, 2025
5a66b4d
Merge commit 'fa7e69561c86' from llvm.org/main into next
Apr 30, 2025
92410cb
Merge commit 'e66eb836e67f' from llvm.org/main into next
Apr 30, 2025
c447b22
Merge commit '976493822443' from llvm.org/main into next
Apr 30, 2025
d681e79
Merge commit '132f7867ff8f' from llvm.org/main into next
Apr 30, 2025
e27360a
Merge commit '01e029602a8a' from llvm.org/main into next
Apr 30, 2025
db3929d
Merge commit '349dc34b461a' from llvm.org/main into next
Apr 30, 2025
c628e41
Merge commit 'a5fef2aff8f6' from llvm.org/main into next
Apr 30, 2025
732ebd7
Merge commit 'b3d130279f5c' from llvm.org/main into next
felipepiovezan Apr 30, 2025
3b8a1ba
Merge commit '1563d74145fa' from llvm.org/main into next
Apr 30, 2025
2f0ceb2
[lldb] Convert inline test to a python test (NFC)
adrian-prantl Apr 28, 2025
349ba9c
Merge pull request #10588 from adrian-prantl/cherry-pick-next-lldb-Co…
adrian-prantl Apr 30, 2025
c68b91b
Merge commit 'b3d130279f5c' from llvm.org/main into next
Apr 30, 2025
54eac41
[windows] fix flaky linker error when building LLDB
charles-zablit May 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
/clang/lib/CIR @lanza @bcardosolopes
/clang/tools/cir-* @lanza @bcardosolopes

# BEGIN SWIFT
/lldb/**/*Swift* @adrian-prantl
# END SWIFT
/lldb/ @JDevlieghere

# MLIR Interfaces.
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
#OS X specific files.
.DS_store

# Temporary file created by the automerger tool.
.am.txt

# Ignore the user specified CMake presets in subproject directories.
/*/CMakeUserPresets.json

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Swift's fork of llvm-project

This is Swift's fork of llvm-project. For more information on Swift's
branching scheme, please see
[apple-docs/AppleBranchingScheme.md](https://github.com/apple/llvm-project/tree/apple/main/apple-docs/AppleBranchingScheme.md).

The LLVM project's main README follows.

# The LLVM Compiler Infrastructure

[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/llvm/llvm-project/badge)](https://securityscorecards.dev/viewer/?uri=github.com/llvm/llvm-project)
Expand Down
359 changes: 359 additions & 0 deletions apple-ci/amtool
Original file line number Diff line number Diff line change
@@ -0,0 +1,359 @@
#!/usr/bin/env python3
"""
Tool to reproduce and resolve the issues reported by the automerger.
"""

import argparse
import json
import logging
import shlex
import subprocess
import sys
from typing import List, Optional

log = logging.getLogger()

REMOTE = '[email protected]:swiftlang/llvm-project.git'

class GitError(Exception):
"""
An exception thrown if the git command failed.

Attributes
----------
args : List[str]
The list of arguments passed to `git`.
returncode : int
The exit code of the `git` process.
stdout : str
The output of `git`.
stderr : str
The error output of `git`.
"""

def __init__(self, args, returncode: int, stdout: str, stderr: str):
self.args = args
self.returncode = returncode
self.stdout = stdout
self.stderr = stderr

def __repr__(self):
return f'GitError({self.args}, {self.returncode}, "{self.stdout}", "{self.stderr}")'


def _git_to_str(args: List[str]):
return 'git ' + ' '.join(map(lambda arg: shlex.quote(arg), args))


def invoke(*cmd, git_dir: Optional[str] = None,
stdin: Optional[str] = None,
stdout=None,
stderr=subprocess.PIPE,
strip: bool = True, ignore_error: bool = False,
timeout: Optional[int] = None):
""" Invokes a git subprocess with the passed string arguments and return
the stdout of the git command as a string if text otherwise a file
handle.
"""
if git_dir is not None:
all_args = ['-C', git_dir] + list(cmd)
else:
all_args = list(cmd)
log.debug('$ %s', _git_to_str(all_args))
p = subprocess.Popen(['git'] + all_args,
stdout=stdout,
stderr=stderr,
stdin=subprocess.PIPE if stdin else None,
universal_newlines=True)
out, err = p.communicate(input=stdin, timeout=timeout)
if p.returncode == 0:
if out:
if strip:
out = out.rstrip()
for line in out.splitlines():
log.debug('STDOUT: %s', line)
if err:
for line in err.rstrip().splitlines():
log.debug('STDERR: %s', line)
return out
log.debug('EXIT STATUS: %d', p.returncode)
if err:
for line in err.rstrip().splitlines():
log.debug('STDERR: %s', line)
if ignore_error:
return None
raise GitError(all_args, p.returncode, out, err)


def git(*cmd, **kwargs):
""" Invokes a git subprocess with the passed string arguments and return
the stdout of the git command.
"""
return invoke(*cmd, **kwargs, stdout=subprocess.PIPE)


class Commit:
""" Represents the commit being merged."""
def __init__(self, sha: str):
self.sha = sha

def short_sha(self):
return self.sha[0:12]

def get_previous_commit(self):
return git('rev-parse', self.sha + '^')


class MergeId:
""" Encapsulates the merge ID constructed by the automerger and the
corresponding git operations.
"""
prefix = 'refs/am'

def __init__(self, merge_id: str):
self.merge_id = merge_id
parts = merge_id.split('_')
try:
self.commit = Commit(parts[0])
self.target_branch = '/'.join(parts[1:])
except IndexError:
log.error("Merge Id not correctly formed.")

@property
def ref_name(self):
return self.prefix + "/changes/" + self.merge_id

@property
def merge_candidate_ref_name(self):
return self.prefix + "/merge-candidate/" + self.merge_id

def get_previous_merge_id(self):
previous_commit = self.commit.get_previous_commit()
return MergeId(self.merge_id.replace(self.commit.sha, previous_commit))

@staticmethod
def fetch(*args):
"""Helper function for the "git fetch" command."""
try:
git('fetch', *args)
return True
except GitError as e:
if e.returncode == 128:
return False
raise e

def fetch_ref_name(self):
refspec = self.ref_name + ":" + self.ref_name
return self.fetch(REMOTE, self.target_branch, refspec)

def fetch_merge_candidate_ref_name(self):
refspec = "+" + self.merge_candidate_ref_name + ":" + self.merge_candidate_ref_name
return self.fetch(REMOTE, refspec)

@staticmethod
def checkout(*args):
"""Helper function for the "git checkout" command."""
try:
git('checkout', *args)
return (True, '')
except GitError as e:
return (False, e.stderr)

def checkout_merge_candidate(self):
"""Checkout the merge candidate for this merge ID."""
return self.checkout(self.merge_candidate_ref_name)

def checkout_target_branch(self):
"""Checkout the target branch for this merge ID."""
if self.fetch(REMOTE, self.target_branch):
return self.checkout('FETCH_HEAD')
return (False, '')

def get_source_branch_name(self):
"""Get the source branch name (upstream) for this target branch."""
content = None
if self.fetch(REMOTE, 'repo/apple-llvm-config/am'):
content = git('cat-file', '-p',
'FETCH_HEAD:apple-llvm-config/am/am-config.json')
if not content:
return None
config = json.loads(content)
if not config:
return None
for json_dict in config:
if json_dict['target'] == self.target_branch:
return json_dict['upstream']
return None

def merge(self):
source_branch = self.get_source_branch_name()
if not source_branch:
log.error(f"Could not figure out the source branch for {self.target_branch}.")
try:
git('merge', '--no-edit', "-X", "diff-algorithm=histogram",
"--summary", self.ref_name, '-m',
f"Merge commit '{self.commit.short_sha()}' from {source_branch} into {self.target_branch}")
return True
except GitError as e:
if 'CONFLICT' in e.stdout:
return False
raise e

def push(self):
try:
git('push', REMOTE, f'HEAD:{self.ref_name}')
return (True, '')
except GitError as e:
return (False, e.stdout)


def parse_args():
"""Parse the command line arguments."""

parser = argparse.ArgumentParser(description="Automerger Tool")
parser.add_argument('-v', '--verbose', action='store_true', required=False,
help='enable verbose outout and show commands being run')

subparsers = parser.add_subparsers(dest='command', required=True,
help='the command to run')
# Reproduce
parser_reproduce = subparsers.add_parser('reproduce',
help='Reproduce the issue observed when performing merge')
parser_reproduce.add_argument('id', help='the merge ID to reproduce')
# Push
parser_push = subparsers.add_parser('push',
help='push the resolution, so that the automerger can pick it up')
# Override push uncommitted change error
parser_push.add_argument('--ignore-uncommitted-changes', dest='ignore_uncommitted',
action='store_true', required=False,
help='allowing pushing a commit even if uncommitted changes exist')

args = parser.parse_args()
return args


def main():
args = parse_args()

# Default to INFO level. Increase to DEBUG level if verbose flag passed.
log_level = logging.INFO
if args.verbose:
log_level = logging.DEBUG

log.setLevel(log_level)
# create console handler with a higher log level
ch = logging.StreamHandler()
ch.setLevel(log_level)
# create formatter and add it to the handlers
ch_fomatter = logging.Formatter('%(levelname)s: %(message)s')
ch.setFormatter(ch_fomatter)
# add the handlers to the logger
log.addHandler(ch)

# File to record the merge ID locally so we can use it in the `push`
# command without having the user enter it again.
record = '.am.txt'

# Reproduce mode.
if args.command == "reproduce":
log.info('Attempting to reproduce the issue.')
merge_id = MergeId(args.id)

# Record the ref locally so we can use it in the `push` command
# without having the user enter it again.
with open(record, 'w') as f:
f.write(args.id)

# Fetch the ref. If we failed to fetch then just return because it is
# likely that the commit has already been merged and the ref deleted.
log.info('Fetching the ref and the target branch ...')
status = merge_id.fetch_ref_name()
if not status:
log.error('Unable to fetch the ref. Are you in the right repo? Or, is it already merged?')
return 1
log.info('Successfully fetched.')

# Fetch the merge candidate ref for the previous commit and check it
# out in order to apply this commit on top of it. This allows us to
# reproduce just this issue and not any other issues in the prior
# commits which have not been merged yet.
# If we failed to fetch then it is likely that the previous commit has
# already been merged. Checkout the target branch in that case.
previous_merge_id = merge_id.get_previous_merge_id()
log.info('Fetching the previous commit ...')
status = previous_merge_id.fetch_merge_candidate_ref_name()
if not status:
log.info('Previous commit already merged. Checking out the target branch instead.')
status, msg = merge_id.checkout_target_branch()
if not status:
log.error('Failed to checkout.')
log.error(msg)
return 1
log.info('Successfully checked out the target branch.')
else:
log.info('Successfully fetched.')
log.info('Now checking out the previous commit.')
status, msg = previous_merge_id.checkout_merge_candidate()
if not status:
log.error('Failed to checkout.')
log.error(msg)
return 1
log.info('Successfully checked out the previous commit.')

# Perform the merge.
log.info('Performing the merge ...')
rc = merge_id.merge()
if not rc:
log.info('Please resolve the conflicts and push the merge commit.')
return 0
log.info('No merge conflict seen. Is this a build/test failure?')
log.info('Please resolve the issue and push the commit.')
return 0

# Push mode.
elif args.command == "push":
# Read the ref saved locally by the `reproduce` command.
try:
with open(record, 'r') as f:
content = f.read()
except FileNotFoundError:
log.error('Did you run the `reproduce` command before?')
return 1
log.debug(f'Content : {content}')

# Check if we happen to be still in the middle of the merge.
# Proceed to push if otherwise the merge has been concluded.
try:
git('rev-parse', '--verify', '--quiet', 'MERGE_HEAD')
log.error('Looks like you are in the middle of the merge.')
log.error('Please conclude the merge before pushing.')
return 1
except GitError:
pass

# Check if we have any unstaged or uncommitted changes in the tree.
if len(git('diff-index', 'HEAD')):
if args.ignore_uncommitted:
log.warning('Ignoring uncommitted changes.')
else:
log.error('Looks like you have unstaged or uncommitted changes.')
log.error('Please make sure everything has been added to the commit.')
log.error('Use `--ignore-uncommitted-changes` to ignore, and push anyway.')
return 1

# Save the commit sha so that we can include it in the output message.
merge_commit = git('rev-parse', 'HEAD')

# Perform the push.
merge_id = MergeId(content)
log.info("Pushing ...")
status, msg = merge_id.push()
if not status:
log.error('Failed to push.')
log.error(msg)
return 1
log.info(f'Successfully pushed `{merge_commit}`.')


if __name__ == '__main__':
sys.exit(main())
Loading