Skip to content

Unskip test #2250

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
wants to merge 10,000 commits into from
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
5b9d6c1
Merge commit '06a1b4a8f5be' from apple/main into swift/next
Dec 14, 2020
11c7fee
Merge commit 'b42a1b8f7dc0' from apple/main into swift/next
Dec 14, 2020
aeff0ac
Merge commit '168b447ebc78' from apple/main into swift/next
Dec 14, 2020
23934a1
Merge commit 'f0c8a35e5e76' from apple/main into swift/next
Dec 14, 2020
de74ad9
Merge commit '6f76819e99e8' from apple/main into swift/next
Dec 14, 2020
f143dbd
Merge commit '3d66afef89b8' from apple/main into swift/next
Dec 14, 2020
5fa8298
Merge commit 'b9fd959cd564' from apple/main into swift/next
Dec 14, 2020
efa3e42
Merge commit '98a0173b92e6' from apple/main into swift/next
Dec 14, 2020
35d83e3
Merge commit 'e10e82043d95' from apple/main into swift/next
Dec 14, 2020
3a3c548
Merge commit 'ff2abd113fe7' from apple/main into swift/next
Dec 14, 2020
1d0e02a
Merge commit '10863001e3ad' from apple/main into swift/next
Dec 14, 2020
e135392
Merge commit 'cc2ff546e721' from apple/main into swift/next
Dec 14, 2020
656412b
Merge commit 'cfc3e0259d12' from apple/main into swift/next
Dec 14, 2020
3135fe0
Merge commit '8c6914d784b4' from apple/main into swift/next
Dec 14, 2020
1c3bd45
Merge commit '1c8a0f4fc83a' from apple/main into swift/next
Dec 14, 2020
ed1984b
Merge commit '3f345fe3ecaa' from apple/main into swift/next
Dec 14, 2020
1f05e5e
Merge commit '5cde44cd201d' from apple/main into swift/next
Dec 14, 2020
189c8c2
Merge commit '5b8676b1c267' from apple/main into swift/next
Dec 14, 2020
c35df70
Merge commit '163b89baba04' from apple/main into swift/next
Dec 14, 2020
ff32638
Merge commit '761c9b6c8db6' from apple/main into swift/next
Dec 14, 2020
404402d
Merge commit '8bc4bb22ab42' from apple/main into swift/next
Dec 14, 2020
39a4178
Merge commit '92571c4b407e' from apple/main into swift/next
Dec 14, 2020
3cf0da7
Merge commit 'a21f2f10f915' from apple/main into swift/next
Dec 14, 2020
0c96b11
Merge commit '233b355edf88' from apple/main into swift/next
Dec 14, 2020
5876854
Merge commit '3d45270d56f9' from apple/main into swift/next
Dec 14, 2020
4911b8c
Merge commit 'd5d40a9cff3f' from apple/main into swift/next
Dec 14, 2020
3dfed47
Merge commit '02450292c1d4' from apple/main into swift/next
Dec 14, 2020
00dae4f
Merge commit 'a4bab51208ba' from apple/main into swift/next
Dec 14, 2020
c228199
Merge commit 'fbb5db861d05' from apple/main into swift/next
Dec 14, 2020
7d48a2f
Merge commit '9f72fd61aca8' from apple/main into swift/next
Dec 14, 2020
617aecc
Merge commit '3da2a870ec75' from apple/main into swift/next
Dec 14, 2020
f904289
Merge commit '73eaf2cdc6a5' from apple/main into swift/next
Dec 14, 2020
494f411
Merge commit '724e17329614' from apple/main into swift/next
Dec 14, 2020
e985bb7
Merge commit '5151440b56aa' from apple/main into swift/next
Dec 14, 2020
57f5088
Merge commit '9754257a8b8b' from apple/main into swift/next
Dec 14, 2020
77b5432
Merge commit 'df58ecb1cae2' from apple/main into swift/next
Dec 15, 2020
2bec70d
Merge commit '8971d5d1df10' from apple/main into swift/next
Dec 15, 2020
aef50c9
Merge commit '1b61b3e4ecf6' from apple/main into swift/next
Dec 15, 2020
35f6987
Merge commit 'b085f53fbc9d' from apple/main into swift/next
Dec 15, 2020
7136ff9
Merge commit 'e18c2dddc628' from apple/main into swift/next
Dec 15, 2020
9d9122d
Merge commit '070118476b01' from apple/main into swift/next
Dec 15, 2020
1d13f8a
Merge commit '9fb329df8458' from apple/main into swift/next
Dec 15, 2020
651e7f4
Merge commit 'ee283591861c' from apple/main into swift/next
Dec 15, 2020
cd39822
Merge commit '25b155a8a41c' from apple/main into swift/next
Dec 15, 2020
79337b5
Merge commit 'a876950cf805' from apple/main into swift/next
Dec 15, 2020
6e3ef59
Merge commit '624d93bac2cf' from apple/main into swift/next
Dec 15, 2020
ea62a54
Merge commit '13453a3c9f78' from apple/main into swift/next
Dec 15, 2020
fc95b68
[lldb] Implement TypeSystemSwiftTypeRef::ShouldPrintAsOneLiner
kastiglione Dec 11, 2020
134eb0b
Merge pull request #2235 from apple/lldb-Implement-TypeSystemSwiftTyp…
kastiglione Dec 14, 2020
03eeea0
Merge commit 'c0d4d8e72633' from apple/main into swift/next
Dec 15, 2020
2357893
[lldb] Correct fallback condition in GetChildCompilerTypeAtIndex
kastiglione Dec 11, 2020
0f9bb5f
Merge pull request #2236 from apple/lldb-Correct-fallback-condition-i…
kastiglione Dec 14, 2020
1e7bbee
Merge commit '277003dc064f' from apple/main into swift/next
Dec 15, 2020
9c02ca9
Merge commit '8ebd07787089' from apple/main into swift/next
Dec 15, 2020
42a4bf5
Merge commit '006b25ef91c9' from apple/main into swift/next
Dec 15, 2020
564ea47
Merge commit '65d92a1bf561' from apple/main into swift/next
Dec 15, 2020
ad9598d
Merge commit '61489beb21e4' from apple/main into swift/next
Dec 15, 2020
eb9de6f
Merge commit '7916a5c52438' from apple/main into swift/next
Dec 15, 2020
39a9982
Merge commit '55cb0bc2b727' from apple/main into swift/next
Dec 15, 2020
9e7afc7
Merge commit '1bab4b7095d5' from apple/main into swift/next
Dec 15, 2020
5ca814a
Merge commit 'b59969fe1d44' from apple/main into swift/next
Dec 15, 2020
f734fa6
Merge commit '81ee67a3051f' from apple/main into swift/next
Dec 15, 2020
e68112d
Merge commit '526e4272caf8' from apple/main into swift/next
Dec 15, 2020
fdb0521
Merge commit 'e68af7dd3a3e' from apple/main into swift/next
Dec 15, 2020
ce22087
Merge commit 'f52dc7158be2' from apple/main into swift/next
Dec 15, 2020
dad2c7c
Merge commit '90c1d54dfb6d' from apple/main into swift/next
Dec 15, 2020
580c71e
Merge commit '6915109569f0' from apple/main into swift/next
Dec 15, 2020
0d86d29
Merge commit 'fb3453ff8f21' from apple/main into swift/next
Dec 15, 2020
7ea87b0
Merge commit '9379e9d7a2e4' from apple/main into swift/next
Dec 15, 2020
a455eb9
Merge commit '63f266c70c3a' from apple/main into swift/next
Dec 15, 2020
abb4977
Merge pull request #2234 from adrian-prantl/71866936-test-next
adrian-prantl Dec 14, 2020
76fa392
Merge commit 'b4cb87f9fd37' from apple/main into swift/next
Dec 15, 2020
b575b54
Merge commit '9053563aceb5' from apple/main into swift/next
Dec 15, 2020
d9e412b
Merge commit '7a6cd83d9719' from apple/main into swift/next
Dec 15, 2020
1a4c750
Merge commit 'f03a0939d2dd' from apple/main into swift/next
Dec 15, 2020
b2d202b
Merge commit 'a9346ca76bfd' from apple/main into swift/next
Dec 15, 2020
f12405a
Merge commit '34a36448f74b' from apple/main into swift/next
Dec 15, 2020
c695d0f
Merge commit '864ea97d4293' from apple/main into swift/next
Dec 15, 2020
cccf6a0
Merge commit '293ef41646f2' from apple/main into swift/next
Dec 15, 2020
17f28cf
Merge commit '4e2cc919ea93' from apple/main into swift/next
Dec 15, 2020
93f7cc5
Merge commit '193dbb439808' from apple/main into swift/next
Dec 15, 2020
71e0620
Merge commit 'dc609abdd19f' from apple/main into swift/next
Dec 15, 2020
2b698f9
Merge commit '9790e98b1d85' from apple/main into swift/next
Dec 15, 2020
893626f
Merge commit 'dea1459b32c4' from apple/main into swift/next
Dec 15, 2020
0dc30fe
Merge commit '4d25e9642e7d' from apple/main into swift/next
Dec 15, 2020
fb32490
Merge commit '303c2eb3540f' from apple/main into swift/next
Dec 15, 2020
562ad45
Merge commit 'c1b4b9590a16' from apple/main into swift/next
Dec 15, 2020
4a6f50f
Merge commit 'd74647ff7737' from apple/main into swift/next
Dec 15, 2020
f7171f1
Merge commit '9eff248cc541' from apple/main into swift/next
Dec 15, 2020
0264b39
Merge commit '246b92f1cc12' from apple/main into swift/next
Dec 15, 2020
cff57f8
Merge commit 'efe7b2dcea65' from apple/main into swift/next
Dec 15, 2020
e9f709c
Merge commit '51ad09c24d61' from apple/main into swift/next
Dec 15, 2020
e362024
[lldb] Implement TypeSystemSwiftTypeRef::IsPossibleDynamicType
kastiglione Dec 11, 2020
b6dee51
use precise/non-ambiguous type name instead of auto
kastiglione Dec 12, 2020
2821497
add ProtocolListWithAnyObject
kastiglione Dec 12, 2020
9d17afc
handle TypeAlias to Swift.AnyObject
kastiglione Dec 12, 2020
cd89c6b
add ExistentialMetatype
kastiglione Dec 12, 2020
6f0563b
resolve type aliases
kastiglione Dec 12, 2020
4c31358
add special case handling of NSNotificationName
kastiglione Dec 14, 2020
aa0f1aa
use std::get<T>
kastiglione Dec 14, 2020
afc4bd0
Merge pull request #2238 from apple/lldb-Implement-TypeSystemSwiftTyp…
kastiglione Dec 14, 2020
934af21
Merge commit 'd0ad3b4895ee' from apple/main into swift/next
Dec 15, 2020
d947985
Merge commit '3d18668c9863' from apple/main into swift/next
Dec 15, 2020
6b58d55
Merge commit '2f1704185772' from apple/main into swift/next
Dec 15, 2020
6e8f76b
Merge commit 'a05e515e63e7' from apple/main into swift/next
Dec 15, 2020
52785d9
Merge commit 'a2c5609f1477' from apple/main into swift/next
Dec 15, 2020
f865179
Merge commit '4b796e9013d8' from apple/main into swift/next
Dec 15, 2020
28c3276
Merge commit '451063adcc7a' from apple/main into swift/next
Dec 15, 2020
0a7c240
Merge commit '4e856e142ed7' from apple/main into swift/next
Dec 15, 2020
fbd9f9e
Merge commit 'a43065c86aca' from apple/main into swift/next
Dec 15, 2020
45f410d
Merge commit 'f5617d19df64' from apple/main into swift/next
Dec 15, 2020
df83d25
Merge commit '9bcaab9e32ab' from apple/main into swift/next
Dec 15, 2020
0f5c8f0
Merge commit 'db60a22f7f31' from apple/main into swift/next
Dec 15, 2020
4518e0a
Merge commit 'b523bbddfc17' from apple/main into swift/next
Dec 15, 2020
fed9f9c
Merge commit '4e4263071940' from apple/main into swift/next
Dec 15, 2020
1e98b39
Merge commit '93c6a73bac0f' from apple/main into swift/next
Dec 15, 2020
ffe7754
Merge commit '4fe8f527ab70' from apple/main into swift/next
Dec 15, 2020
a2341c7
Merge commit '71d57cd3eca9' from apple/main into swift/next
Dec 15, 2020
0c05596
Merge commit '33af78fd4f44' from apple/main into swift/next
Dec 15, 2020
0b48015
Merge commit '17848d5fccb1' from apple/main into swift/next
Dec 15, 2020
b8071f4
Merge commit 'e254704b8dcc' from apple/main into swift/next
Dec 15, 2020
5f71ef0
Merge commit 'd3da6df27de5' from apple/main into swift/next
Dec 15, 2020
a291f0e
Merge commit 'd7f2ffd7300c' from apple/main into swift/next
Dec 15, 2020
194be88
Merge commit 'b8c5ad674877' from apple/main into swift/next
Dec 15, 2020
8d724c9
Merge commit '2a7564d54581' from apple/main into swift/next
Dec 15, 2020
d2a9b3f
Merge commit 'cfecd6753d8f' from apple/main into swift/next
Dec 15, 2020
fbf2097
Merge commit 'a89b0e75663d' from apple/main into swift/next
Dec 15, 2020
04d7d70
Merge commit '93e13c2e7bea' from apple/main into swift/next
Dec 15, 2020
844e4f2
Merge commit 'c184b251f59e' from apple/main into swift/next
Dec 15, 2020
3d00c65
Merge commit '8c2365504721' from apple/main into swift/next
Dec 15, 2020
1a7e01a
Merge commit 'dd9b6b0a1be3' from apple/main into swift/next
Dec 15, 2020
5c10287
Merge commit 'c2c6b6deb92a' from apple/main into swift/next
Dec 15, 2020
7f1ee2f
Merge commit 'a1a8abbbe27a' from apple/main into swift/next
Dec 15, 2020
2c0bfc5
[lldb] Lift GetIndexOfChildWithName into TypeSystemSwift base class
kastiglione Dec 14, 2020
a34c406
remove from TypeSystemSwiftTypeRef too
kastiglione Dec 14, 2020
262cf5c
tweak docstrings
kastiglione Dec 14, 2020
3c2c1d3
Merge pull request #2241 from apple/lldb-Lift-GetIndexOfChildWithName…
kastiglione Dec 15, 2020
f7309f7
Merge commit 'd7fb9c5e384d' from apple/main into swift/next
Dec 15, 2020
70023be
Merge commit 'adf9526d3496' from apple/main into swift/next
Dec 15, 2020
f78585e
Merge commit '2118c44441ef' from apple/main into swift/next
Dec 15, 2020
2118df7
Merge commit 'b804e3fdca00' from apple/main into swift/next
Dec 15, 2020
4d1b4b0
Merge commit 'de2de8aff5ae' from apple/main into swift/next
Dec 15, 2020
f8fc6c0
Merge commit '58a13bacf25f' from apple/main into swift/next
Dec 15, 2020
8093626
Merge commit '128312788b0b' from apple/main into swift/next
Dec 15, 2020
305ee26
Merge commit '376d0dc20da9' from apple/main into swift/next
Dec 15, 2020
dfbe17c
Merge commit 'b437021beddb' from apple/main into swift/next
Dec 15, 2020
c0c05db
Merge commit '3dc58ad76ec8' from apple/main into swift/next
Dec 15, 2020
4c0c74b
Merge commit '1d1d3893f81f' from apple/main into swift/next
Dec 15, 2020
41d15ac
Merge commit '88b137e07ebe' from apple/main into swift/next
Dec 15, 2020
5fe130e
Merge commit 'fb68c0a370e6' from apple/main into swift/next
Dec 15, 2020
fb30c09
Merge commit '3d594f1952d3' from apple/main into swift/next
Dec 15, 2020
e759198
Merge commit '0f0db99cdff1' from apple/main into swift/next
Dec 15, 2020
a2afea7
Merge commit '0f3baedc37a6' from apple/main into swift/next
Dec 15, 2020
da2b1ab
Merge commit '4f25aa075578' from apple/main into swift/next
Dec 15, 2020
e13b6fd
Merge commit '48ed8c06fbd3' from apple/main into swift/next
Dec 15, 2020
05d0645
Merge commit '131eaae16cc8' from apple/main into swift/next
Dec 15, 2020
413fc81
Merge commit 'e87011ad6ba8' from apple/main into swift/next
Dec 15, 2020
35117a0
Merge commit '09d8f0f6cc9a' from apple/main into swift/next
Dec 15, 2020
dfe9a4b
Merge commit '0e2f201b4c88' from apple/main into swift/next
Dec 15, 2020
e50250a
Merge commit '55b681c80cfa' from apple/main into swift/next
Dec 15, 2020
dafac61
Merge commit '2c274fce1957' from apple/main into swift/next
Dec 15, 2020
da66851
Merge commit '747ad7a66cca' from apple/main into swift/next
Dec 15, 2020
7990cdc
Merge commit '45d315dcaa49' from apple/main into swift/next
Dec 15, 2020
d610855
Merge commit '0369b6d95145' from apple/main into swift/next
Dec 15, 2020
e5c4a8f
Merge commit 'a8c62592c030' from apple/main into swift/next
Dec 15, 2020
2082764
Merge commit '8a14d25f8ece' from apple/main into swift/next
Dec 15, 2020
ca31a3f
Merge commit '0f0f8d881716' from apple/main into swift/next
Dec 15, 2020
c2d3a8e
Merge commit 'f4e6ae010e97' from apple/main into swift/next
Dec 15, 2020
655d6f9
Merge commit '3c7c02218f8e' from apple/main into swift/next
Dec 15, 2020
bee5c6d
Merge commit 'f45a242f5b3b' from apple/main into swift/next
Dec 15, 2020
6f6cf4d
Merge commit '17294596b57f' from apple/main into swift/next
Dec 15, 2020
67dba7a
Merge commit '6b16debdd325' from apple/main into swift/next
Dec 15, 2020
cbd37e6
Merge commit 'd15540ebc05f' from apple/main into swift/next
Dec 15, 2020
d2158c6
Merge commit '26d040f8352e' from apple/main into swift/next
Dec 15, 2020
2a44c18
Merge commit '4f41db18c654' from apple/main into swift/next
Dec 15, 2020
10c8a50
Merge commit '9ac294383791' from apple/main into swift/next
Dec 15, 2020
59b9dad
Merge commit '5ab97d1e062e' from apple/main into swift/next
Dec 15, 2020
0023738
Merge commit 'dbb5545d2506' from apple/main into swift/next
Dec 15, 2020
5cb4b44
Merge commit '209096eb8e33' from apple/main into swift/next
Dec 15, 2020
c58cd03
Merge commit '14dc448e9dfc' from apple/main into swift/next
Dec 15, 2020
4906598
Merge commit '472ad6797a3a' from apple/main into swift/next
Dec 15, 2020
65893d7
Merge commit 'ced942f6fa74' from apple/main into swift/next
Dec 15, 2020
f02f552
Merge commit '064e0f07d124' from apple/main into swift/next
Dec 15, 2020
a790228
Merge commit '4e910439189b' from apple/main into swift/next
Dec 15, 2020
041b8b8
Merge commit '75a43fd1a45a' from apple/main into swift/next
Dec 15, 2020
0eac7fa
Merge commit 'b2648cb5d85d' from apple/main into swift/next
Dec 15, 2020
d10259c
Merge commit '74b00b14fcdd' from apple/main into swift/next
Dec 15, 2020
a36ef75
Merge commit '7b00356091de' from apple/main into swift/next
Dec 15, 2020
0e1d64e
Merge commit '8e14ea1b4f45' from apple/main into swift/next
Dec 15, 2020
f67cf6c
Merge commit '84320a1753c2' from apple/main into swift/next
Dec 15, 2020
8eb348c
Merge commit '21a951967856' from apple/main into swift/next
Dec 15, 2020
0ba2f43
Merge commit '4507bd4ac94a' from apple/main into swift/next
Dec 15, 2020
e0517e2
Merge commit '035d74bef3a3' from apple/main into swift/next
Dec 15, 2020
05fcaae
Merge commit '04c0ce303001' from apple/main into swift/next
Dec 15, 2020
295bd45
Merge commit 'cd59f1ac4dbf' from apple/main into swift/next
Dec 15, 2020
770cdb7
Merge commit '071130da7934' from apple/main into swift/next
Dec 15, 2020
ba0c1bb
Merge commit 'ec72645482d5' from apple/main into swift/next
Dec 15, 2020
e60ea7b
Merge commit 'a84371f56833' from apple/main into swift/next
Dec 15, 2020
a393417
Merge commit '03bf4f2dfe58' from apple/main into swift/next
Dec 15, 2020
bf0129e
Merge commit 'c8431942eb4b' from apple/main into swift/next
Dec 15, 2020
f497fd8
Merge commit '60033a38f8a9' from apple/main into swift/next
Dec 15, 2020
2a2a7e7
Merge commit 'a2fdebd0b373' from apple/main into swift/next
Dec 15, 2020
7b2bdae
Merge commit '127d09377508' from apple/main into swift/next
Dec 15, 2020
514597d
Merge commit '7713ea0d4fa4' from apple/main into swift/next
Dec 15, 2020
7827d0d
Merge commit '8f1a27fba435' from apple/main into swift/next
Dec 15, 2020
3d118c2
Merge commit 'ecdf90ac4c1c' from apple/main into swift/next
Dec 15, 2020
9c378a5
Merge commit 'f764c364636b' from apple/main into swift/next
Dec 15, 2020
36c79d9
Merge commit '8d0c127cfead' from apple/main into swift/next
Dec 15, 2020
41200f9
Merge commit 'c33a1e6dab50' from apple/main into swift/next
Dec 15, 2020
6b8b645
Merge commit '8622ffad051d' from apple/main into swift/next
Dec 15, 2020
396f21a
Merge commit '7c257553a95e' from apple/main into swift/next
Dec 15, 2020
fcdca4d
Merge commit 'aa48d2ca4c0f' from apple/main into swift/next
Dec 15, 2020
46cca95
Merge commit 'c9e2b300a747' from apple/main into swift/next
Dec 15, 2020
8676fb6
Merge commit '48141ad42733' from apple/main into swift/next
Dec 15, 2020
9d76d97
Disable AST type caching for SILFunctionTypes since the mapping isn't
adrian-prantl Dec 15, 2020
1041617
Merge commit 'c775dd1362d7' from apple/main into swift/next
Dec 15, 2020
a65701f
Merge commit '57ab5975b786' from apple/main into swift/next
Dec 15, 2020
aa60d33
Merge commit '104bf5fa727c' from apple/main into swift/next
Dec 15, 2020
e589abe
Merge commit 'a24d36e09cb6' from apple/main into swift/next
Dec 15, 2020
2842f29
Merge commit 'd62828dd37b6' from apple/main into swift/next
Dec 15, 2020
bd4892e
Merge commit 'a4ddaa381167' from apple/main into swift/next
Dec 15, 2020
a77f926
Merge commit 'a7808304692f' from apple/main into swift/next
Dec 15, 2020
191fbf8
Merge commit '950d9fbb2234' from apple/main into swift/next
Dec 15, 2020
04f135c
Merge commit '19d85db2f9a4' from apple/main into swift/next
Dec 15, 2020
81afaa3
Merge commit 'c90b5dade4dd' from apple/main into swift/next
Dec 15, 2020
f9f1133
Merge commit 'c2d8ceec19e7' from apple/main into swift/next
Dec 15, 2020
b9b8ae9
Merge commit '3037c14588ed' from apple/main into swift/next
Dec 15, 2020
d063e01
Merge commit 'af5a2cc62336' from apple/main into swift/next
Dec 15, 2020
30c49b0
Merge commit '1c49f5eb0c5d' from apple/main into swift/next
Dec 15, 2020
fa825fc
Merge commit '1f470a3ad031' from apple/main into swift/next
Dec 15, 2020
8590448
Merge commit '49c2906070e8' from apple/main into swift/next
Dec 15, 2020
70e8a4e
Merge commit '01e8b3857b8e' from apple/main into swift/next
Dec 15, 2020
e8967f2
Merge commit '97991e6e1c92' from apple/main into swift/next
Dec 15, 2020
db7530e
Merge commit 'b270c6064766' from apple/main into swift/next
Dec 15, 2020
84ac3ed
Merge commit '26fce2c86a76' from apple/main into swift/next
Dec 15, 2020
14fb61c
Merge commit 'f56d3a23dab9' from apple/main into swift/next
Dec 15, 2020
acb52f1
Merge commit '98b3f0ed44e7' from apple/main into swift/next
Dec 15, 2020
d7ce3bc
Merge commit 'dad50f036a8a' from apple/main into swift/next
Dec 15, 2020
ab409d1
Merge commit '9405d0b1021a' from apple/main into swift/next
Dec 15, 2020
ecf334e
Merge commit '4fa5888e43e1' from apple/main into swift/next
Dec 15, 2020
250826c
Merge commit '60cc8558b9be' from apple/main into swift/next
Dec 15, 2020
cec793f
Merge commit 'e61764079afb' from apple/main into swift/next
Dec 15, 2020
5a1d131
Merge commit '60ae86f47511' from apple/main into swift/next
Dec 15, 2020
d531bdc
Merge commit '10265f9c29bc' from apple/main into swift/next
Dec 15, 2020
1e5a83e
Merge commit 'b04658b7fa60' from apple/main into swift/next
Dec 15, 2020
6dceb14
Merge pull request #2246 from adrian-prantl/70552614-next
adrian-prantl Dec 15, 2020
c5ce47e
Merge commit 'e1dd3c05f17d' from apple/main into swift/next
Dec 15, 2020
f96919e
Merge commit '52ef40ad5f2b' from apple/main into swift/next
Dec 15, 2020
8dbc41f
Convert inline test to regular test
adrian-prantl Dec 15, 2020
4a3fdfb
unskip test that appears to be working
adrian-prantl Dec 15, 2020
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions apple-llvm-config/am/swift-master-next.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"upstream": "apple/master"
}
19 changes: 15 additions & 4 deletions clang/include/clang/AST/ExprObjC.h
Original file line number Diff line number Diff line change
Expand Up @@ -1684,13 +1684,23 @@ class ObjCBridgedCastExpr final
/// expressions.
///
class ObjCAvailabilityCheckExpr : public Expr {
public:
struct VersionAsWritten {
/// Platform version canonicalized for use with availability checks.
VersionTuple Version;
/// Platform version as written in the source.
VersionTuple SourceVersion;
};

private:
friend class ASTStmtReader;

VersionTuple VersionToCheck;
VersionAsWritten VersionToCheck;
SourceLocation AtLoc, RParen;

public:
ObjCAvailabilityCheckExpr(VersionTuple VersionToCheck, SourceLocation AtLoc,
ObjCAvailabilityCheckExpr(VersionAsWritten VersionToCheck,
SourceLocation AtLoc,
SourceLocation RParen, QualType Ty)
: Expr(ObjCAvailabilityCheckExprClass, Ty, VK_RValue, OK_Ordinary),
VersionToCheck(VersionToCheck), AtLoc(AtLoc), RParen(RParen) {
Expand All @@ -1705,8 +1715,9 @@ class ObjCAvailabilityCheckExpr : public Expr {
SourceRange getSourceRange() const { return {AtLoc, RParen}; }

/// This may be '*', in which case this should fold to true.
bool hasVersion() const { return !VersionToCheck.empty(); }
VersionTuple getVersion() { return VersionToCheck; }
bool hasVersion() const { return !VersionToCheck.Version.empty(); }
VersionTuple getVersion() { return VersionToCheck.Version; }
VersionTuple getVersionAsWritten() { return VersionToCheck.SourceVersion; }

child_range children() {
return child_range(child_iterator(), child_iterator());
Expand Down
2 changes: 1 addition & 1 deletion clang/lib/CodeGen/CGExprScalar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ class ScalarExprEmitter
}

Value *VisitObjCAvailabilityCheckExpr(ObjCAvailabilityCheckExpr *E) {
VersionTuple Version = E->getVersion();
VersionTuple Version = E->getVersionAsWritten();

// If we're checking for a platform older than our minimum deployment
// target, we can fold the check away.
Expand Down
9 changes: 9 additions & 0 deletions clang/lib/Sema/SemaDeclAttr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2469,6 +2469,15 @@ static void handleAvailabilityAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
AvailabilityChange Introduced = AL.getAvailabilityIntroduced();
AvailabilityChange Deprecated = AL.getAvailabilityDeprecated();
AvailabilityChange Obsoleted = AL.getAvailabilityObsoleted();
if (II->getName() == "macos" || II->getName() == "macos_app_extension") {
// Canonicalize macOS availability versions.
Introduced.Version = llvm::Triple::getCanonicalVersionForOS(
llvm::Triple::MacOSX, Introduced.Version);
Deprecated.Version = llvm::Triple::getCanonicalVersionForOS(
llvm::Triple::MacOSX, Deprecated.Version);
Obsoleted.Version = llvm::Triple::getCanonicalVersionForOS(
llvm::Triple::MacOSX, Obsoleted.Version);
}
bool IsUnavailable = AL.getUnavailableLoc().isValid();
bool IsStrict = AL.getStrictLoc().isValid();
StringRef Str;
Expand Down
29 changes: 21 additions & 8 deletions clang/lib/Sema/SemaExpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19466,15 +19466,28 @@ ExprResult Sema::ActOnObjCAvailabilityCheckExpr(
llvm::ArrayRef<AvailabilitySpec> AvailSpecs, SourceLocation AtLoc,
SourceLocation RParen) {

StringRef Platform = getASTContext().getTargetInfo().getPlatformName();

auto Spec = llvm::find_if(AvailSpecs, [&](const AvailabilitySpec &Spec) {
return Spec.getPlatform() == Platform;
});
auto FindSpecVersion = [&](StringRef Platform)
-> Optional<ObjCAvailabilityCheckExpr::VersionAsWritten> {
auto Spec = llvm::find_if(AvailSpecs, [&](const AvailabilitySpec &Spec) {
return Spec.getPlatform() == Platform;
});
if (Spec == AvailSpecs.end())
return None;
if (Platform == "macos") {
return ObjCAvailabilityCheckExpr::VersionAsWritten{
llvm::Triple::getCanonicalVersionForOS(llvm::Triple::MacOSX,
Spec->getVersion()),
Spec->getVersion()};
}
return ObjCAvailabilityCheckExpr::VersionAsWritten{Spec->getVersion(),
Spec->getVersion()};
};

VersionTuple Version;
if (Spec != AvailSpecs.end())
Version = Spec->getVersion();
auto MaybeVersion =
FindSpecVersion(Context.getTargetInfo().getPlatformName());
ObjCAvailabilityCheckExpr::VersionAsWritten Version;
if (MaybeVersion)
Version = *MaybeVersion;

// The use of `@available` in the enclosing function should be analyzed to
// warn when it's used inappropriately (i.e. not if(@available)).
Expand Down
3 changes: 2 additions & 1 deletion clang/lib/Serialization/ASTReaderStmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,8 @@ void ASTStmtReader::VisitObjCAvailabilityCheckExpr(ObjCAvailabilityCheckExpr *E)
SourceRange R = Record.readSourceRange();
E->AtLoc = R.getBegin();
E->RParen = R.getEnd();
E->VersionToCheck = Record.readVersionTuple();
E->VersionToCheck.Version = Record.readVersionTuple();
E->VersionToCheck.SourceVersion = Record.readVersionTuple();
}

//===----------------------------------------------------------------------===//
Expand Down
1 change: 1 addition & 0 deletions clang/lib/Serialization/ASTWriterStmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,7 @@ void ASTStmtWriter::VisitObjCAvailabilityCheckExpr(ObjCAvailabilityCheckExpr *E)
VisitExpr(E);
Record.AddSourceRange(E->getSourceRange());
Record.AddVersionTuple(E->getVersion());
Record.AddVersionTuple(E->getVersionAsWritten());
Code = serialization::EXPR_OBJC_AVAILABILITY_CHECK;
}

Expand Down
25 changes: 25 additions & 0 deletions clang/test/CodeGen/attr-availability-new.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-macos11.0" -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-macos10.15" -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-OLD %s

__attribute__((availability(macos,introduced=10.16)))
void f0(void);

__attribute__((availability(macos,introduced=11.0)))
void f1(void);

__attribute__((availability(macos,introduced=12.0)))
void f2(void);

// CHECK-OLD: declare extern_weak void @f0
// CHECK-OLD: declare extern_weak void @f1
// CHECK-OLD: declare extern_weak void @f2

// CHECK: declare void @f0
// CHECK: declare void @f1
// CHECK: declare extern_weak void @f2

void test() {
f0();
f1();
f2();
}
9 changes: 9 additions & 0 deletions clang/test/CodeGenObjC/availability-check.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ void use_at_available() {
// CHECK: br i1 true
if (__builtin_available(macos 10.11, *))
;

// CHECK: call i32 @__isOSVersionAtLeast(i32 10, i32 16, i32 0)
// CHECK-NEXT: icmp ne
if (__builtin_available(macos 10.16, *))
;
// CHECK: call i32 @__isOSVersionAtLeast(i32 11, i32 0, i32 0)
// CHECK-NEXT: icmp ne
if (__builtin_available(macos 11.0, *))
;
}

// CHECK: declare i32 @__isPlatformVersionAtLeast(i32, i32, i32, i32)
116 changes: 116 additions & 0 deletions clang/test/Sema/attr-availability-macos-new.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
// RUN: %clang_cc1 "-triple" "x86_64-apple-macos10.15" -fsyntax-only -verify %s
// RUN: %clang_cc1 "-triple" "x86_64-apple-macos11" -DNEW -fsyntax-only -verify %s
// RUN: %clang_cc1 "-triple" "x86_64-apple-darwin20" -DNEW -fsyntax-only -verify %s
// RUN: %clang_cc1 "-triple" "x86_64-apple-macos10.15" -fsyntax-only -verify -fapplication-extension -DAPP_EXT %s

__attribute__((availability(macos,strict,introduced=10.16)))
void fNew1();
#ifndef NEW
// expected-note@-2 {{here}}
#endif

__attribute__((availability(macosx,strict,introduced=10.16)))
void fNew();

__attribute__((availability(macos,strict,introduced=11)))
void fNew() { }
#ifndef NEW
// expected-note@-2 {{here}}
#endif

__attribute__((availability(macosx,strict,deprecated=10.16)))
void fDep();

__attribute__((availability(macos,strict,deprecated=11)))
void fDep() { }
#ifdef NEW
// expected-note@-2 {{here}}
#endif

__attribute__((availability(macosx,strict,obsoleted=10.16)))
void fObs();

__attribute__((availability(macos,strict,obsoleted=11)))
void fObs() { }
#ifdef NEW
// expected-note@-2 {{here}}
#endif

__attribute__((availability(macosx_app_extension,strict,introduced=10.16)))
void fAppExt();

__attribute__((availability(macos_app_extension,strict,introduced=11)))
void fAppExt() { }
#ifdef APP_EXT
// expected-note@-2 {{here}}
#endif

void testVersionRemapping() {
fNew1();
#ifndef NEW
// expected-error@-2 {{'fNew1' is unavailable: introduced in macOS 11.0}}
#endif
fNew();
#ifndef NEW
// expected-error@-2 {{'fNew' is unavailable: introduced in macOS 11}}
#endif
fDep();
#ifdef NEW
// expected-warning@-2 {{'fDep' is deprecated: first deprecated in macOS 11}}
#endif
fObs();
#ifdef NEW
// expected-error@-2 {{'fObs' is unavailable: obsoleted in macOS 11}}
#endif

fAppExt();
#ifdef APP_EXT
// expected-error@-2 {{'fAppExt' is unavailable: introduced in macOS (App Extension) 11}}
#endif
}

__attribute__((availability(macosx,strict,introduced=10.16.1))) // expected-note {{here}}
void fMatchErr();

__attribute__((availability(macos,strict,introduced=11))) // expected-warning {{availability does not match previous declaration}}
void fMatchErr() { }

__attribute__((availability(macosx_app_extension,strict,introduced=10.16))) // expected-note {{here}}
void fAppExtErr();

__attribute__((availability(macos_app_extension,strict,introduced=11.1))) // expected-warning {{availability does not match previous declaration}}
void fAppExtErr() { }

__attribute__((availability(macos,introduced=11)))
void fNew2();
#ifndef NEW
// expected-note@-2 {{'fNew2' has been marked as being introduced in macOS 11 here, but the deployment target is macOS 10.15.0}}
#endif
__attribute__((availability(macos,introduced=10.16)))
void fNew3();

__attribute__((availability(macos,introduced=12)))
void evenNewer();
#ifdef NEW
// expected-note@-2 {{'evenNewer' has been marked as being introduced in macOS 12 here, but the deployment target is macOS 11.0.0}}
#endif

void testAvailabilityCheck() {
if (__builtin_available(macOS 10.16, *)) {
fNew2();
fNew3();
}
if (__builtin_available(macOS 11, *)) {
fNew2();
fNew3();
}
fNew2();
#ifndef NEW
// expected-warning@-2 {{'fNew2' is only available on macOS 11 or newer}} expected-note@-2 {{enclose}}
#endif
#ifdef NEW
evenNewer(); // expected-warning {{'evenNewer' is only available on macOS 12 or newer}} expected-note {{enclose}}
#endif
}


15 changes: 15 additions & 0 deletions lldb/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ pyproj/
llvm-build/
ninja/
*xcuserdata
*.xcscmblueprint
test/20*
source/LLDBWrapPython.cpp
.DS_Store
__pycache__/

clang-module-cache
Expand All @@ -46,8 +49,20 @@ tags

# We should ignore Xcode-style embedding of llvm/ at lldb root dir.
# Do not add trailing '/'s, they skip symlinks.
/ninja
/llvm
/DerivedData
/cmark
/compiler-rt
PrebuiltSwiftlang
intermediates

# ctags files
tags
TAGS

/clang
/swift

# Ignore test trace directories.
20??-??-??-??_??_??/
Expand Down
24 changes: 24 additions & 0 deletions lldb/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "github-master-next",
"program": "/Users/sgranitz/Develop/lldb-tot-builds/github-master-next-RelWithDebInfo/build/unified/bin/lldb",
"args": [ "--repl" ],
"cwd": "/Users/sgranitz/Develop/lldb-tot-builds/github-master-next-RelWithDebInfo/build/unified/bin"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/<your program>",
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
23 changes: 21 additions & 2 deletions lldb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,27 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)
else()
set(SWIFT_BINARY_DIR ${CMAKE_BINARY_DIR})
set(SWIFT_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include)
set(SWIFT_LIBRARY_DIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib")
endif()

include(LLDBConfig)
include(AddLLDB)

# BEGIN - Swift Mods
if(EXISTS "${LLVM_EXTERNAL_SWIFT_SOURCE_DIR}")
list(APPEND CMAKE_MODULE_PATH
"${LLVM_EXTERNAL_SWIFT_SOURCE_DIR}/cmake"
"${LLVM_EXTERNAL_SWIFT_SOURCE_DIR}/cmake/modules")
elseif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../swift)
list(APPEND CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/../swift/cmake"
"${CMAKE_CURRENT_SOURCE_DIR}/../swift/cmake/modules")
endif()
# END - Swift Mods

# Define the LLDB_CONFIGURATION_xxx matching the build type.
if(uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" )
add_definitions(-DLLDB_CONFIGURATION_DEBUG)
Expand Down Expand Up @@ -66,12 +82,15 @@ endif()
if(CMAKE_CROSSCOMPILING AND LLDB_BUILT_STANDALONE)
set(LLVM_USE_HOST_TOOLS ON)
include(CrossCompile)
if (NOT NATIVE_LLVM_DIR OR NOT NATIVE_Clang_DIR)
if (NOT LLDB_PATH_TO_NATIVE_SWIFT_BUILD OR
NOT NATIVE_LLVM_DIR OR
NOT NATIVE_Clang_DIR)
message(FATAL_ERROR
"Crosscompiling standalone requires the variables NATIVE_{CLANG,LLVM}_DIR
"Crosscompiling standalone requires the variables LLDB_PATH_TO_NATIVE_{SWIFT,CLANG,LLVM}_BUILD
for building the native lldb-tblgen used during the build process.")
endif()
llvm_create_cross_target(lldb NATIVE "" Release
-DSwift_DIR=${LLDB_PATH_TO_NATIVE_SWIFT_BUILD}
-DLLVM_DIR=${NATIVE_LLVM_DIR}
-DClang_DIR=${NATIVE_Clang_DIR})
endif()
Expand Down
14 changes: 14 additions & 0 deletions lldb/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
By submitting a pull request, you represent that you have the right to license
your contribution to Apple and the community, and agree by submitting the patch
that your contributions are licensed under the [Swift
license](https://swift.org/LICENSE.txt).

---

Changes to this repository follow special considerations as described on
Swift.org under "[LLVM and Swift](https://swift.org/contributing/#llvm-and-swift)".
Please make sure your change is appropriate for this repository.

Before submitting a pull request, please make sure you have tested your
changes and that they follow the Swift project [guidelines for contributing
code](https://swift.org/contributing/#contributing-code).
Loading