Skip to content

Unblock merge #302

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
a0b3322
[lldb][swift] Fix inverted cache check in DynamicValueTypeInfoNeedsUp…
Teemperor Mar 5, 2021
90c8bc5
FastISel: do not fold a swifterror load into anything.
TNorthover Mar 8, 2021
85ab5c6
Merge pull request #2631 from TNorthover/swifterror-noload
TNorthover Mar 8, 2021
38dce71
[Swift async] Add a baseline test for arguments and locals in logical…
fredriss Mar 8, 2021
d91814f
Merge pull request #2628 from varungandhi-apple/vg-apple/stable
varungandhi-apple Mar 8, 2021
c029864
[ubsan] support print_module_map flag in standalone mode
aralisza Mar 2, 2021
a942aa5
Merge pull request #2625 from apple/eng/elaborated-enum-base-2021
hyp Mar 8, 2021
cf7dfb9
Merge pull request #2632 from fredriss/async-locals-test
fredriss Mar 8, 2021
1e7fee1
Merge pull request #2618 from Teemperor/AlsoCacheSuccessfulLoads
Teemperor Mar 8, 2021
4afdf8a
Merge pull request #2619 from Teemperor/DontSearchAllModules
Teemperor Mar 8, 2021
5f17b63
Merge pull request #2622 from Teemperor/InvertDynamicValueTypeInfoNee…
Teemperor Mar 8, 2021
4c9ba44
Make NSErrorDomain argument operate on the identifier instead of VarDecl
hyp Mar 9, 2021
5a54e98
Merge pull request #2634 from apple/nserrordom2
hyp Mar 9, 2021
ad4b091
[lldb] Use lit.with_system_environment to propagate env variables
JDevlieghere Mar 9, 2021
3037aa7
[lldb] Propagate XDG_CACHE_HOME environment variable to tests
JDevlieghere Mar 9, 2021
39831b7
[lldb] Update crashlog script for JSON changes
JDevlieghere Mar 9, 2021
5b8b791
Merge pull request #2640 from apple/🍒/ganymede/cc52ea30012d3d9495a412…
JDevlieghere Mar 9, 2021
9cc7b9a
Merge pull request #2639 from apple/🍒/ganymede/080ded7445cc670cf2628e…
JDevlieghere Mar 9, 2021
dc88801
[cmake] Enable -Werror=return-type
kastiglione Mar 8, 2021
71e6088
[clang][ObjC] allow the use of NSAttributedString * return type with …
hyp Mar 9, 2021
dd3ac30
[clang][driver] Support Darwin SDK names with an optional prefix in t…
hyp Mar 9, 2021
f3a8c9c
Merge pull request #2642 from apple/eng/2021al3
hyp Mar 10, 2021
efab943
Log in SetPrivateState when unwind logging enabled (#2643)
jasonmolenda Mar 10, 2021
a25d280
Merge pull request #2641 from apple/cmake-Enable-Werror-return-type
kastiglione Mar 10, 2021
1ce17af
Merge commit 'a25d2803d7d9' from apple/stable/20210107 into swift/main
JDevlieghere Mar 10, 2021
5a2f210
[lldb] Add work around handling of recursive_mutex lock failures
kastiglione Mar 10, 2021
ab3c3f1
use FLAKYPASS
kastiglione Mar 10, 2021
0734da1
Don't create a swift async unwind plan when in a function prologue (#…
jasonmolenda Mar 10, 2021
76a04d4
Fixes for swift async work, to maintain parity with trunk:
TNorthover Jan 20, 2021
95c6385
Merge pull request #2647 from TNorthover/async-changes
TNorthover Mar 10, 2021
ae21717
Merge pull request #2646 from apple/lldb-Add-work-around-handling-of-…
kastiglione Mar 10, 2021
07d4bab
Merge commit '95c6385f3f51' from apple/stable/20210107 into swift/main
Mar 10, 2021
19f5838
Revert "Avoid a false positive assertion error (NFC in NDEBUG)"
adrian-prantl Mar 10, 2021
8f3b481
Revert "Be more flexible when handling bridged Swift/ObjC CoreFoundat…
adrian-prantl Mar 10, 2021
7d3ebe5
[clang] ObjC arc is supported for Mac Catalyst
hyp Mar 10, 2021
a943410
[lldb/Platform] Skip very slow xcrun queries for simulator platforms,…
vedantk Mar 9, 2021
892a05f
[lldb] Ignore linkage diagnostic for LLDBSwigPythonBreakpointCallback…
kastiglione Mar 10, 2021
6522ad5
Merge pull request #2660 from apple/lldb-Ignore-linkage-diagnostic-fo…
fredriss Mar 10, 2021
33ec055
Merge commit '6522ad5dbc9c' from apple/stable/20210107 into swift/main
Mar 11, 2021
7d24f02
Revert "[cmake] Enable -Werror=return-type"
kastiglione Mar 10, 2021
9414ef8
Merge pull request #2659 from apple/skip-xcrun
vedantk Mar 11, 2021
f63dc38
Merge pull request #2658 from apple/eng/69384160-2021
hyp Mar 11, 2021
0c63d46
Merge pull request #2662 from apple/Revert-cmake-Enable-Werror-return…
kastiglione Mar 11, 2021
e9fdef1
Merge commit '0c63d46ee93d' from apple/stable/20210107 into swift/main
Mar 11, 2021
4902c29
[LLDB] Fix `Wunused-result` warning
frgossen Feb 8, 2021
88afa39
Merge pull request #2665 from apple/LLDB-Fix-Wunused-result-warning
kastiglione Mar 11, 2021
72acab2
Merge commit '88afa395b14c' from apple/stable/20210107 into swift/main
Mar 11, 2021
f7d2236
[Sema] Allow swift_indirect_result and swift_context for async functi…
varungandhi-apple Mar 10, 2021
11c89a6
[compiler-rt] Fix stale incremental builds when using `LLVM_BUILD_EXT…
danliew-apple Mar 9, 2021
3292fc4
Merge commit '11c89a6f56fe' from apple/stable/20210107 into swift/main
Mar 11, 2021
3d80520
[lldb] Swift async: Hopefully correct unwinder
fredriss Mar 8, 2021
63fd366
Merge pull request #2657 from varungandhi-apple/vg-apple/stable
varungandhi-apple Mar 11, 2021
60aeeb7
Merge commit '63fd36665f94' from apple/stable/20210107 into swift/main
Mar 12, 2021
a521cd8
[tsan] Use large address space mapping on Apple Silicon Macs
kubamracek Mar 8, 2021
26478c6
Merge commit 'a521cd8bc3a6' from apple/stable/20210107 into swift/main
Mar 12, 2021
b6e9652
[lldb] Disable Stepper/TestSwiftBenchmarkOnone
kastiglione Mar 12, 2021
6e7e13b
[asan] disable no-fd test on darwin
aralisza Mar 11, 2021
1a3fec2
arm64e: authenticate LR against the correct SP when tail calling.
TNorthover Mar 12, 2021
5f38210
[lldb] Add asserts that prevent construction of cycles in the decl or…
Teemperor Feb 24, 2021
7a994d5
Merge pull request #2670 from TNorthover/swifttail-pacibsp
TNorthover Mar 12, 2021
0ebe0e3
Merge pull request #2630 from davezarzycki/track_functiontype_get
shahmishal Mar 12, 2021
b1f9147
Merge commit '7a994d55bb0f' from apple/stable/20210107 into swift/main
Mar 13, 2021
6e9b795
[coro] Use swift mangling for resume functions
aschwaighofer Mar 12, 2021
a6ebb81
Merge pull request #2666 from apple/lldb-Disable-Stepper-TestSwiftBen…
kastiglione Mar 14, 2021
8c09e4e
Add withExtendedLifetime to a few lldb tests.
atrick Mar 12, 2021
7ca2ff0
Merge pull request #2674 from atrick/fix-lldb-test-copyprop
atrick Mar 15, 2021
5bd15df
[analyzer] Fix StdLibraryFunctionsChecker performance issue
SavchenkoValeriy Feb 22, 2021
3fbbfbc
[-Wcompletion-handler] Extend list of detected conventions
SavchenkoValeriy Mar 9, 2021
867e86a
[analyzer][solver] Prevent infeasible states (PR49490)
SavchenkoValeriy Mar 10, 2021
23eeb5a
SwiftAsync: only change callee-saved registers for `swifttailcc`.
TNorthover Mar 15, 2021
cb50e5a
Merge pull request #2675 from TNorthover/swiftasync-nosave
TNorthover Mar 15, 2021
fe203b2
[lldb] Update static bindings
Teemperor Mar 15, 2021
b1ba142
X86: adjust the windows 64 calling convention for Swift
compnerd Mar 14, 2021
9727686
Merge pull request #2672 from Teemperor/cherry/2105912ee0b831d5141146…
Teemperor Mar 15, 2021
d243a79
Merge pull request #2421 from Teemperor/cherry/7f6e44325b370249c5a9e7…
Teemperor Mar 15, 2021
7efff69
Delay requesting a scratch context in BindGenericTypeParameters()
adrian-prantl Mar 15, 2021
a60f36c
Merge pull request #2678 from compnerd/swift-self
compnerd Mar 15, 2021
884b3ae
Merge pull request #2663 from fredriss/hopefully-correct-async-unwind
fredriss Mar 15, 2021
b56ddb7
[coro async] Add support for specifying which parameter is swiftself …
aschwaighofer Mar 15, 2021
fadb374
Merge pull request #2549 from dexonsmith/cherry-pick/revert-header-en…
dexonsmith Mar 15, 2021
8a52ace
Merge pull request #2679 from adrian-prantl/75372262
adrian-prantl Mar 15, 2021
e1fd9ab
Add support for specifying which parameter is swiftself in async resu…
aschwaighofer Mar 15, 2021
1c2e771
Restore DirectoryEntry.h changes, dropped in 23a4b2f7874be0cdb4a85176…
dexonsmith Mar 16, 2021
d3570f7
Revert "Merge pull request #2549 from dexonsmith/cherry-pick/revert-h…
dexonsmith Mar 16, 2021
a6d5bc1
Revert "Module: Use FileEntryRef and DirectoryEntryRef in Umbrella, H…
dexonsmith Feb 23, 2021
7243a6e
Fix the build for Merge commit '00ae8a20c5de' from llvm.org/main into…
hyp Feb 24, 2021
14cd369
Minimize diff from llvm.org after ef65f12345d7480c776ba0da628f8f84737…
dexonsmith Mar 16, 2021
53e560f
Cherry-pick 1d297f90649dd63187590548e20de0eced61750c: [lit] Sort test…
davezarzycki Mar 10, 2021
4bd621b
ARM: teach FastISel the basics of swifttailcc.
TNorthover Mar 16, 2021
bd2476a
Merge pull request #2676 from Teemperor/swift/main-bindings-update
Teemperor Mar 16, 2021
0a5f464
Merge pull request #2683 from aschwaighofer/coro_async_swift_self_in_…
aschwaighofer Mar 16, 2021
f25fd4b
StackProtector: insert check before `musttail` call.
TNorthover Mar 16, 2021
d959895
Merge pull request #2685 from dexonsmith/cherry-pick/revert-header-en…
dexonsmith Mar 16, 2021
53bf633
Merge pull request #2688 from TNorthover/swifttailcc-arm-fastisel
TNorthover Mar 16, 2021
853072e
Merge pull request #2691 from TNorthover/ssp-musttail
TNorthover Mar 16, 2021
d302e70
Temporarily mark swiftasync unavailable for x86_64 Windows.
varungandhi-apple Mar 16, 2021
1ad8d0c
Support !heapallocsite attachments in stripNonLineTableDebugInfo().
adrian-prantl Mar 15, 2021
77a44d0
Support !heapallocsite attachments in StripDebugInfo().
adrian-prantl Mar 15, 2021
9aaa03a
Backport testcase
adrian-prantl Mar 16, 2021
84a2606
Cache the results of SwiftASTContext::GetCompileUnitImports()
adrian-prantl Mar 16, 2021
ce01788
Merge pull request #2693 from adrian-prantl/75341300
adrian-prantl Mar 16, 2021
73e4a09
Merge pull request #2692 from varungandhi-apple/vg-apple/stable
varungandhi-apple Mar 16, 2021
8bc5ef4
Merge pull request #2671 from SavchenkoValeriy/analyzer_cherry_picks_…
SavchenkoValeriy Mar 16, 2021
2842782
Merge pull request #2656 from adrian-prantl/74930025
adrian-prantl Mar 16, 2021
fe10491
Disable TestSwiftAsyncBacktraceLocals.py
aschwaighofer Mar 16, 2021
775d335
[Matrix] Implement += and -= for MatrixType.
SaurabhJha Mar 8, 2021
c9362fa
Merge pull request #2695 from adrian-prantl/75381959
adrian-prantl Mar 17, 2021
8c542ec
Merge pull request #2701 from aschwaighofer/disable_TestSwiftAsyncBac…
DougGregor Mar 17, 2021
ed2cdfe
Temporarily disable test failing in CI (rdar://75512501)
DougGregor Mar 17, 2021
4eee13f
[ExtVectorType] Support conditional select operator for C++.
fhahn Mar 9, 2021
da878f7
StackProtector: ensure protection does not interfere with tail call f…
TNorthover Mar 17, 2021
647d4ba
[Matrix] Add support for matrix-by-scalar division.
fhahn Mar 11, 2021
5604300
[lit] Harmonize test timing data between Unix and Windows
davezarzycki Mar 17, 2021
1924c6b
Merge pull request #2702 from apple/disable-multilang-formatter-categ…
aschwaighofer Mar 17, 2021
1f264b3
Merge pull request #2682 from aschwaighofer/coro_async_swift_self_in_…
shahmishal Mar 17, 2021
dde4fd4
Revert "Cache the results of SwiftASTContext::GetCompileUnitImports()"
adrian-prantl Mar 17, 2021
4ad0f06
Revert "Temporarily disable test failing in CI (rdar://75512501)"
adrian-prantl Mar 17, 2021
98182d6
Merge pull request #2692 from varungandhi-apple/vg-apple/stable
varungandhi-apple Mar 16, 2021
a482186
[DSE] Add test cases with memory intrinsics and varying size values.
fhahn Mar 9, 2021
7346e8d
[DSE] Add tests with memset & memcpy combinations and non-const sizes.
fhahn Mar 10, 2021
6a0125e
[DSE] Handle memcpy/memset with equal non-const sizes.
fhahn Mar 10, 2021
bcdef72
[DSE] Handle memmove with equal non-const sizes
davidbolvansky Mar 10, 2021
eb716e3
[asan] disable MallocNanoZone for no fd test on darwin
aralisza Mar 16, 2021
c9400f9
Merge pull request #2705 from apple/revert-2695-75381959
shahmishal Mar 17, 2021
6ac7f5b
Merge pull request #2706 from apple/revert-2702-disable-multilang-for…
shahmishal Mar 17, 2021
3f79a31
Merge pull request #2707 from aschwaighofer/cherry-pick-varuns-win64-fix
shahmishal Mar 17, 2021
b930f43
[swift] Update lldb for new option to ModuleInterfaceCheckerImpl.
gottesmm Mar 17, 2021
0c7dc30
Merge pull request #2704 from TNorthover/tailcc-ssp
varungandhi-apple Mar 17, 2021
a9088dd
StackProtector: insert check before `musttail` call.
TNorthover Mar 16, 2021
4ff394d
Update LiveDebugValues implementation for new Swift async ABI.
adrian-prantl Mar 18, 2021
60df19f
Merge commit 'a25df95dd775' from apple/stable/20210107 into swift/main
Mar 18, 2021
a25df95
Merge pull request #2711 from adrian-prantl/ldv-abi-relax
adrian-prantl Mar 18, 2021
d8576a7
[-Wcalled-once-parameter] Let escapes overwrite MaybeCalled states
SavchenkoValeriy Mar 15, 2021
f0e9594
[analyzer] Introduce common bug category "Unused code".
haoNoQ Mar 18, 2021
23d32fe
Merge commit 'e80d3212e951' from apple/stable/20210107 into swift/main
Mar 18, 2021
e80d321
Merge pull request #2713 from haoNoQ/static-analyzer-cherrypicks-20
SavchenkoValeriy Mar 18, 2021
84d8b29
[-Wcalled-once-parameter] Harden analysis in terms of block use
SavchenkoValeriy Mar 15, 2021
6aa6c0f
[-Wcalled-once-parameter] Fix false positives for cleanup attr
SavchenkoValeriy Mar 11, 2021
c8747e7
[-Wcalled-once-parameter][NFC] Fix GCC compilation error
SavchenkoValeriy Mar 18, 2021
1e44436
Merge pull request #2714 from SavchenkoValeriy/handler-cherry-pick-fixes
SavchenkoValeriy Mar 18, 2021
e8fac58
Merge commit '1e44436ba593' from apple/stable/20210107 into swift/main
Mar 19, 2021
9c34c22
Merge pull request #2710 from varungandhi-apple/vg-swift/main-fastrac…
shahmishal Mar 18, 2021
fe7a2e6
X86: pass async task in register on Windows
compnerd Mar 16, 2021
1215fed
Merge pull request #2673 from aschwaighofer/coro_async_suspend_await_…
aschwaighofer Mar 18, 2021
01aa848
Revert "[CodeGenModule] Set dso_local for Mach-O GlobalValue"
hyp Mar 11, 2021
a19c5a1
Merge pull request #2694 from compnerd/async-register
compnerd Mar 18, 2021
c34ad03
Revert "Add {{.*}} to tests to fix them after dso_local change."
hyp Mar 18, 2021
d890ae6
Merge pull request #2709 from gottesmm/swift/main-ossa-modules
gottesmm Mar 19, 2021
d759a3f
[coro] Use swift mangling for resume functions
aschwaighofer Mar 12, 2021
275d784
AST: correct name decoration for swift async functions on Windows
compnerd Mar 19, 2021
7b1707a
Cache the results of SwiftASTContext::GetCompileUnitImports()
adrian-prantl Mar 16, 2021
14b60bc
Merge pull request #2718 from apple/eng/revdsolocal
hyp Mar 19, 2021
3eaf804
Merge pull request #2722 from compnerd/decoration
compnerd Mar 19, 2021
b7b7d25
Merge pull request #2687 from davezarzycki/record_and_reorder_tests
shahmishal Mar 19, 2021
41f84da
[lldb] Call os_log_fault on lldb_assert
JDevlieghere Mar 19, 2021
2883f89
[lldb] Update assert.test to be less strict
JDevlieghere Mar 19, 2021
d7d4ee2
[lldb/PlatformPOSIX] Change LoadImage default to RTLD_LAZY (reapply)
vedantk Mar 18, 2021
b4f2f62
[asan] specify c++ version in tests to fix compile error
aralisza Mar 19, 2021
3305fd4
When on the first insn of live func, don't return a swift unwind plan
jasonmolenda Mar 20, 2021
4e1ee4c
[ASTImporter] Fix import of ObjCPropertyDecl that share the same name
Teemperor Mar 22, 2021
2ef2b3b
Merge pull request #2728 from apple/eng/PR-75534688
vedantk Mar 22, 2021
4a1c11a
Merge pull request #2727 from apple/🍒/ganymede/e089b5e9e11a61be0a1137…
JDevlieghere Mar 22, 2021
34cfc2e
Merge pull request #2731 from Teemperor/cherry/e421a74108ee86afec133c…
adrian-prantl Mar 22, 2021
ba9d918
Merge pull request #2717 from aschwaighofer/coro_async_new_resume_man…
shahmishal Mar 22, 2021
04b48dc
[dsymutil] Fix spurious warnings for missing symbols with thinLTO
JDevlieghere Mar 22, 2021
e9f3fb0
[lldb] Move Apple simulators test targets under API
JDevlieghere Mar 18, 2021
e483d76
[lldb] Fix test_exec_root of API tests
labath Mar 22, 2021
596080d
[lldb] config.test_exec_root is set by lit.cfg.py
JDevlieghere Mar 22, 2021
23d5a12
Re-land "[lldb] Make the API, Shell and Unit tests independent lit te…
JDevlieghere Mar 22, 2021
18fb40a
Merge pull request #2734 from apple/🍒/ganymede/3d6c7d6e8e449913aed815…
JDevlieghere Mar 23, 2021
ca56a3b
Merge pull request #2735 from apple/🍒/ganymede/0c090a96821b3b35cd68fa…
JDevlieghere Mar 23, 2021
0128051
Don't load kexts/kernels without dSYMs present
jasonmolenda Mar 13, 2021
5b4cd8e
[lldb testing] Add a `skipUnlessFoundation` decorator for Linux
davezarzycki Mar 19, 2021
491e098
[AnnotationRemarks] Add test for annotation remarks with dbg locations.
fhahn Mar 23, 2021
600a103
[AnnotationRemarks] Use subprogram location for summary remarks.
fhahn Mar 23, 2021
983c47c
Teach DWARFExpression about DWARF 4+ Location Descriptions
adrian-prantl Mar 23, 2021
52b18b7
[dsymutil] Only look for ThinLTO suffixes if we failed to find symbol.
JDevlieghere Mar 23, 2021
3673d09
[Object][MachO] Handle end iterator in getSymbolType()
cachemeifyoucan Mar 17, 2021
a7b3a57
Merge pull request #2729 from adrian-prantl/dwarf-location-descriptions
adrian-prantl Mar 23, 2021
dd4ac9b
Merge pull request #2741 from apple/🍒/ganymede/1c9b83edaf93376c59b40f…
JDevlieghere Mar 23, 2021
186516f
Merge pull request #2738 from davezarzycki/lldb_skipUnlessFoundation
davezarzycki Mar 24, 2021
1dbec56
Merge commit 'a19c5a16e269' from apple/stable/20210107 into swift/main
Mar 24, 2021
b1be908
Make the stop-on-sharedlibrary-events setting work.
jimingham Mar 23, 2021
c263659
Disable the tests except on Darwin.
jimingham Mar 24, 2021
c64f3e6
[TSan] Support initialize/finalize hooks in dynamic libraries
Mar 24, 2021
f42c33a
Teach DWARFExpression about DWARF 4+ Location Descriptions
adrian-prantl Mar 23, 2021
f5792e4
lldb: Swift async: handle 2 different coroutine ABIs
fredriss Mar 24, 2021
8e89d21
Cleanup the Swift GetObjectDescription helpers; mostly coalesce repea…
jimingham Mar 25, 2021
6461682
Merge pull request #2744 from jimingham/stop-on-sharedlibrary-events
JDevlieghere Mar 25, 2021
a2b8bfb
Correctly handle method calls and function pointers for swiftasync.
varungandhi-apple Mar 25, 2021
6bedcf0
[lit] Support older Python 3.x versions without enum.auto()
davezarzycki Mar 25, 2021
bb57e73
ARM: mark swiftself register (r10) as caller saved for swifttailcc
TNorthover Mar 25, 2021
1e586f2
Merge pull request #2749 from davezarzycki/workaround_older_python_ve…
edymtt Mar 25, 2021
c8f19db
Merge pull request #2743 from fredriss/moar-async-testing
fredriss Mar 25, 2021
20cd98d
Merge commit 'dd4ac9b2ace1' from apple/stable/20200714 into swift/main
Mar 25, 2021
77afe36
[lit] Support older Python 3.x versions without enum.auto()
davezarzycki Mar 25, 2021
b52ea9d
Merge pull request #2750 from TNorthover/arm-swiftself-csr
TNorthover Mar 25, 2021
f7adadf
Merge pull request #2747 from varungandhi-apple/vg-apple/stable
varungandhi-apple Mar 25, 2021
63dd833
[GlobalISel] Fix crash in RBS with a non-generic IMPLICIT_DEF.
aemerson Mar 24, 2021
9698b19
Cherry-pick #2750 from TNorthover/arm-swiftself-csr to swift/main
TNorthover Mar 25, 2021
58a2cac
Merge pull request #2751 from apple/eng/rbs-impdef-crash
aemerson Mar 25, 2021
799e84c
Merge pull request #2753 from aschwaighofer/cherry-pick-arm-swiftself…
hyp Mar 26, 2021
162c9a8
Merge pull request #2719 from adrian-prantl/75381959-1
adrian-prantl Mar 26, 2021
b6711a9
[lldb] Format AppleObjCRuntimeV2 (NFC)
JDevlieghere Mar 25, 2021
0efc470
[lldb] Add IsFullyInitialized to DynamicLoader
JDevlieghere Mar 24, 2021
f067bdb
[lldb/ObjC] Make the NonPointerIsaCache initialization lazy
fredriss Mar 13, 2020
72cef5f
[lldb] Support lazily named classes in the Objective-C classes
JDevlieghere Mar 26, 2021
6cafa2d
Add provenance information to the collected import options in the typ…
adrian-prantl Mar 26, 2021
09e2486
Remove runAsyncAndBlock
etcwilde Mar 27, 2021
fc3a749
Merge pull request #2756 from adrian-prantl/73172674
adrian-prantl Mar 29, 2021
8907537
Merge pull request #2748 from jimingham/cleanup-swift-po
jimingham Mar 29, 2021
a80267a
Merge pull request #2758 from etcwilde/ewilde/remove-runAsyncAndBlock
etcwilde Mar 29, 2021
2d6495d
Merge pull request #2755 from JDevlieghere/objective-c-runtime
JDevlieghere Mar 29, 2021
2da59ea
Merge pull request #2759 from Teemperor/FixDoubleDashClangFlagsRebranch
adrian-prantl Mar 29, 2021
f2ba792
Merge commit 'dd4ac9b2ace1' from apple/stable/20210107 into swift/main
Mar 30, 2021
dacf3a5
[dsymutil] Relocate DW_TAG_label
JDevlieghere Mar 29, 2021
90047fc
[dsymutil] s/dwarfdump/llvm-dwarfdump/ in test
JDevlieghere Mar 30, 2021
87fb89b
Merge pull request #2761 from apple/🍒/ganymede/e0577b3130a646b0ee090c…
JDevlieghere Mar 30, 2021
322c9b1
Merge commit '87fb89b63b3a' from apple/stable/20210107 into swift/main
Apr 1, 2021
52bde9d
[analyzer][solver] Fix infeasible constraints (PR49642)
SavchenkoValeriy Mar 19, 2021
1aede39
[analyzer][solver] Redesign constraint ranges data structure
SavchenkoValeriy Jul 24, 2020
414a80d
[analyzer] Don't include private gtest headers
gribozavr Mar 22, 2021
c918d1d
[Analyzer][NFC] Fix typos in comments
Mar 24, 2021
3e27500
[Analyzer] Infer 0 value when the divisible is 0 (bug fix)
Mar 25, 2021
654d834
[Analyzer] Track RValue expressions
Mar 25, 2021
c9aaa2e
[analyzer] Support allocClassWithName in OSObjectCStyleCast checker
SavchenkoValeriy Mar 29, 2021
4b749e5
[analyzer] Fix crash when reasoning about C11 atomics (PR49422)
SavchenkoValeriy Mar 24, 2021
82bb63d
[AArch64] Add a few more vector extension tests.
fhahn Mar 29, 2021
034e650
[AArch64] Remove custom zext/sext legalization code.
fhahn Mar 29, 2021
8eb970b
[SelectionDAG] Don't scalarize vector fpround sources that don't need…
Mar 8, 2021
285737e
Use musttail in MergeFunctions for swiftasync->swiftasync tail calls.
varungandhi-apple Mar 30, 2021
f652e1b
Update musttail verification to check all swiftasync->swiftasync tail…
varungandhi-apple Mar 30, 2021
38f6f36
Add debug info support for swiftasync arguments to GlobalISel
adrian-prantl Mar 30, 2021
960fd47
Merge pull request #2764 from apple/fix-fp-round-20210107
ornata Mar 30, 2021
66cbf25
[SelDag] Add isIntOrFPConstant helper function.
fhahn Mar 28, 2021
c864f20
[AArch64] Avoid SCALAR_TO_VECTOR for single FP constant vector.
fhahn Mar 31, 2021
b8fc4ea
Merge pull request #2765 from adrian-prantl/75904857
adrian-prantl Mar 31, 2021
80c7803
Merge pull request #2766 from varungandhi-apple/vg-apple/stable
varungandhi-apple Mar 31, 2021
91b2373
Merge commit '80c7803ad832' from apple/stable/20210107 into swift/main
Apr 1, 2021
8c462e7
Turn on swiftasync for i386.
varungandhi-apple Mar 31, 2021
a457c00
Improve LiveDebugValues for arm64 Swift async variables.
adrian-prantl Apr 1, 2021
df76373
Merge pull request #2763 from april_2021_analyzer_cherry_picks
SavchenkoValeriy Apr 1, 2021
b0fe088
Merge pull request #2768 from varungandhi-apple/vg-apple/stable
varungandhi-apple Apr 1, 2021
d4b9446
Merge pull request #2769 from adrian-prantl/75904857-2
adrian-prantl Apr 1, 2021
7357afe
XFAIL failing lldb tests
meg-gupta Apr 1, 2021
3e572fc
Merge pull request #2770 from apple/xfaillldb
varungandhi-apple Apr 1, 2021
01db4ba
Fix coro lowering of single predecessor phis
aschwaighofer Apr 1, 2021
9a42d09
Merge pull request #2774 from apple/rdar_76020301
aschwaighofer Apr 2, 2021
89c4e93
Merge remote-tracking branch 'origin/apple/stable/20210107' into swif…
DougGregor Apr 2, 2021
4bd6b75
UN-XFAIL tests that are passing now
DougGregor Apr 2, 2021
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.
279 changes: 279 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,279 @@
==============================================================================
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
==============================================================================

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


---- LLVM Exceptions to the Apache 2.0 License ----

As an exception, if, as a result of your compiling your source code, portions
of this Software are embedded into an Object form of such source code, you
may redistribute such embedded portions in such Object form without complying
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.

In addition, if you combine or link compiled forms of this Software with
software that is licensed under the GPLv2 ("Combined Software") and if a
court of competent jurisdiction determines that the patent provision (Section
3), the indemnity provision (Section 9) or other Section of the License
conflicts with the conditions of the GPLv2, you may retroactively and
prospectively choose to deem waived or otherwise exclude such Section(s) of
the License, but only in their entirety and only with respect to the Combined
Software.

==============================================================================
Software from third parties included in the LLVM Project:
==============================================================================
The LLVM Project contains third party software which is under different license
terms. All such code will be identified clearly using at least one of two
mechanisms:
1) It will be in a separate directory tree with its own `LICENSE.txt` or
`LICENSE` file at the top containing the specific license and restrictions
which apply to that software, or
2) It will contain specific license and restriction terms at the top of every
file.

==============================================================================
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
==============================================================================
University of Illinois/NCSA
Open Source License

Copyright (c) 2003-2019 University of Illinois at Urbana-Champaign.
All rights reserved.

Developed by:

LLVM Team

University of Illinois at Urbana-Champaign

http://llvm.org

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal with
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimers.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimers in the
documentation and/or other materials provided with the distribution.

* Neither the names of the LLVM Team, University of Illinois at
Urbana-Champaign, nor the names of its contributors may be used to
endorse or promote products derived from this Software without specific
prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
SOFTWARE.

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

This is Apple's fork of llvm-project. For more information on Apple'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

This directory and its sub-directories contain source code for LLVM,
Expand Down
34 changes: 34 additions & 0 deletions apple-ci/clang/am/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
set -eu

SRC_DIR=$PWD/llvm-project
BUILD_DIR=$PWD/build

for arg; do
case $arg in
--src=*) SRC_DIR="${arg##*=}"; shift ;;
--build=*) BUILD_DIR="${arg##*=}"; shift ;;
*) echo "Incorrect usage." >&2; exit 1 ;;
esac
done

echo
echo "SRC_DIR . . . . = $SRC_DIR"
echo "BUILD_DIR . . . = $BUILD_DIR"
echo

NINJA=$(xcrun -f ninja)

HOST_COMPILER_PATH=$(dirname $(xcrun -f clang))

mkdir -p $BUILD_DIR && cd $_
set -x
xcrun cmake -G Ninja \
-DCMAKE_MAKE_PROGRAM=$NINJA \
-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON \
-DCMAKE_C_COMPILER=$HOST_COMPILER_PATH/clang \
-DCMAKE_CXX_COMPILER=$HOST_COMPILER_PATH/clang++ \
-DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;lldb" \
-DLLDB_INCLUDE_TESTS=OFF \
$SRC_DIR/llvm && $NINJA
Loading