Skip to content

appleRemove get alloc strat #371

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
8754bfe
Merge pull request #3364 from apple/lua-bindings
JDevlieghere Oct 7, 2021
53a1833
Merge pull request #3355 from apple/lldb-Add-new-Swift-log-channel
kastiglione Oct 7, 2021
9465522
Merge pull request #3356 from apple/lldb-Log-SwiftASTContext-configur…
kastiglione Oct 7, 2021
56e5df7
[lldb] Implement ShouldSkipValidation
augusto2112 Oct 6, 2021
f2bff10
Merge pull request #3360 from augusto2112/should-skip-validation
augusto2112 Oct 7, 2021
09ed7bc
[lldb] Replace ast type direct usage with CompilerType to check for void
augusto2112 Oct 7, 2021
8cdf7fb
Merge pull request #3365 from augusto2112/use-compiler-type-void
augusto2112 Oct 7, 2021
e7bd8f7
Merge pull request #3363 from apple/Fix-Swift-Rebranch
medismailben Oct 7, 2021
07bbf6c
Revert "[modules] Fix miscompilation when using two RecordDecl defini…
etcwilde Oct 7, 2021
68c4df6
Merge pull request #3354 from apple/llvmprcp
adrian-prantl Oct 7, 2021
1813652
Do not emit prologue_end for line 0 locs if there is a non-zero loc p…
adrian-prantl Oct 7, 2021
17eecb2
Use llvm::VersionTuple to store DWARF producer info (NFC)
adrian-prantl Oct 6, 2021
6ce519e
Simplify control flow (NFC)
adrian-prantl Oct 6, 2021
8d10843
Add a unit test for llvm-gcc producer strings and cleanup code. (NFC)
adrian-prantl Oct 6, 2021
d0e1226
Recognize the Swift compiler in DW_AT_producer
adrian-prantl Oct 6, 2021
65a4dde
Merge pull request #3358 from augusto2112/dem-canonical-tree-using-type
adrian-prantl Oct 7, 2021
cd97949
Teach collectTypeInfo to deal with unresolved aliases.
adrian-prantl Oct 8, 2021
9c36102
Get CFString.test to pass
adrian-prantl Oct 8, 2021
bef9d10
Merge pull request #3370 from adrian-prantl/cfstring
adrian-prantl Oct 8, 2021
19bedb0
Update test after health log patch
adrian-prantl Oct 8, 2021
3af01a6
Merge pull request #3371 from adrian-prantl/health
adrian-prantl Oct 8, 2021
2112283
Update test after health log patch
adrian-prantl Oct 8, 2021
ffc1c31
Fix typos
adrian-prantl Oct 8, 2021
02c8e18
Mark test as no debug info
adrian-prantl Oct 8, 2021
3aa5291
Rename test
adrian-prantl Oct 8, 2021
8ee64c3
Fix a nullptr deref
adrian-prantl Oct 8, 2021
572a29f
Typo
adrian-prantl Oct 8, 2021
a192d86
Don't destroy the scratch context in the Swift REPL after importing n…
adrian-prantl Oct 8, 2021
92b5062
Simplify test
adrian-prantl Oct 8, 2021
09506be
Merge pull request #3369 from etcwilde/ewilde/rebranch/fix-missing-pt…
etcwilde Oct 9, 2021
3cf1715
Revert "Allow signposts to take advantage of deferred string substitu…
JDevlieghere Oct 11, 2021
52ce9c4
[Preprocessor] Elide empty line(s) at start of file.
Meinersbur Aug 25, 2021
a4fc859
Work around outdated system header files on Amazon Linux
adrian-prantl Oct 12, 2021
deef3c1
Merge pull request #3397 from adrian-prantl/sve
shahmishal Oct 12, 2021
e9c1937
Merge pull request #3393 from apple/eng/0726-picker-52ce9c4c3ca451fa8…
hyp Oct 12, 2021
4cef7f6
Fix two race conditions and clean up testcase.
adrian-prantl Oct 12, 2021
797067a
Merge pull request #3391 from apple/🍒/FBI/070315d04c6bb259ab058bd15a8…
JDevlieghere Oct 12, 2021
14fe0b3
Fix out-of-bounds memory access
adrian-prantl Oct 12, 2021
fd73873
[GlobalDCE] Handle relative pointers in VFE (for Swift vtables)
kubamracek Aug 31, 2021
5f40bc3
[GlobalDCE] In VFE support for relative pointers, allow GEP reference…
kubamracek Sep 13, 2021
44d5b40
[GlobalDCE] In VFE, replace the whole 'sub' expression of unused rela…
kubamracek Oct 6, 2021
3bfa58f
Merge pull request #3399 from adrian-prantl/test-cleanups
adrian-prantl Oct 13, 2021
73ec670
Revert "Work around outdated system header files on Amazon Linux"
adrian-prantl Oct 13, 2021
6ec962b
Work around outdated system header files on Amazon Linux
adrian-prantl Oct 12, 2021
07ef272
[LoopUnroll] Add peeling tests with unreachable exits.
fhahn Aug 13, 2021
986810a
[LoopPeel] Add test with multiple exit blocks branching to unreachable.
fhahn Aug 16, 2021
1e96fac
[LoopPeel] Allow peeling with multiple unreachable-terminated exit bl…
fhahn Aug 25, 2021
4185752
[LoopPeel] Add tests where peeling turns invar accesses dereferenceable.
fhahn Oct 8, 2021
9d24a8e
[PhaseOrdering] Add test for missed vectorization with vector::at calls.
fhahn Aug 13, 2021
405eae5
[LoopPeel] Peel if it turns invariant loads dereferenceable.
fhahn Oct 12, 2021
c725efe
Merge pull request #3357 from apple/lldb-Remove-superfluous-SDKTypeMi…
kastiglione Oct 13, 2021
234fe54
Avoid potential infinite recursion.
adrian-prantl Oct 13, 2021
da8bf1d
Merge pull request #3404 from adrian-prantl/amazon-take-2
adrian-prantl Oct 13, 2021
1a6bbd3
Avoid ingesting the main module's reflection sections twice.
adrian-prantl Oct 13, 2021
639b9f6
Implement a warning that detects Swift compile units that were compil…
adrian-prantl Oct 7, 2021
2db66e8
[lldb] Auto-enable swift health logging to memory buffer
kastiglione Oct 13, 2021
dcfe81e
[lldb] Add basic healthcheck command
kastiglione Oct 14, 2021
0379089
wrap in LLDB_ENABLE_SWIFT
kastiglione Oct 14, 2021
744ae39
Invert the ownership between SwiftASTContext and TypeSystemSwiftTypeR…
adrian-prantl Oct 13, 2021
391e4b2
X86: fix frame offset calculation with mandatory tail calls
TNorthover Aug 4, 2021
55cc564
Merge pull request #3405 from adrian-prantl/83262793
adrian-prantl Oct 14, 2021
63a47a8
Merge pull request #3409 from adrian-prantl/80655416
adrian-prantl Oct 14, 2021
30515a1
Merge pull request #2646 from apple/lldb-Add-work-around-handling-of-…
kastiglione Mar 10, 2021
85393db
Merge pull request #3412 from apple/lldb-Auto-enable-swift-health-log…
kastiglione Oct 14, 2021
6133bb7
Merge pull request #3408 from adrian-prantl/invert-ownership
adrian-prantl Oct 14, 2021
4d75a35
Remove redundant ternary operator (NFC)
adrian-prantl Oct 14, 2021
90444fb
[lldb] Remove logging from Platform::~Platform
Teemperor Oct 14, 2021
7417d34
[lldb] Move ~Platform to source file
Teemperor Oct 14, 2021
9e436cf
Merge pull request #3414 from apple/Merge-pull-request-2646-from-appl…
kastiglione Oct 14, 2021
697e0dd
Merge pull request #3415 from adrian-prantl/tern
adrian-prantl Oct 14, 2021
193a81e
Merge pull request #3361 from adrian-prantl/82982242
adrian-prantl Oct 14, 2021
9bc7ba6
Revert "[profile] Add binary id into profiles"
vedantk Oct 14, 2021
87f3da5
Revert "Work around outdated system header files on Amazon Linux"
adrian-prantl Oct 14, 2021
826e907
Work around outdated system header files on Amazon Linux
adrian-prantl Oct 12, 2021
9b3a8e0
Merge pull request #3422 from adrian-prantl/sve3
shahmishal Oct 15, 2021
41c3c52
[lldb] Add call to registerClangImporterRequestFunctions in SwiftASTC…
kastiglione Oct 15, 2021
1637ca7
Merge pull request #3417 from Teemperor/cherry/e632e900ac1092f581b42f…
Teemperor Oct 15, 2021
39ca2f2
[ARM][atomicrmw] Fix CMP_SWAP_32 expand assert
tmatheson-arm Aug 3, 2021
f41ffff
Merge pull request #3413 from apple/eng/PR-80786596
TNorthover Oct 15, 2021
eeaf069
Merge pull request #3423 from apple/lldb-Add-call-to-registerClangImp…
zoecarver Oct 15, 2021
7ccf3b6
[lldb] Parse and display reporting errors from JSON crashlogs
JDevlieghere Oct 7, 2021
4d7ee57
[lldb] Support missing threadState in JSON crashlogs
JDevlieghere Oct 7, 2021
cc706bf
[lldb] Rename 'healthcheck' to 'swift-healthcheck'
Teemperor Oct 15, 2021
5f6ea16
[lldb] Harden TestCompletion against new settings in 'target.process'
Teemperor Oct 15, 2021
cc7687e
Merge pull request #3420 from apple/eng/PR-84254277
vedantk Oct 15, 2021
434d67e
Use Module's FileSpec for limiting binaries to set dyld breakpoint in
jasonmolenda Oct 15, 2021
1ae2552
Revert "Work around outdated system header files on Amazon Linux"
adrian-prantl Oct 15, 2021
075b0ac
Work around outdated system header files on Amazon Linux
adrian-prantl Oct 12, 2021
9394255
[lldb] Duplicate SwiftASTContext::CreateInstance errors to swift heal…
kastiglione Oct 15, 2021
d85fabe
Merge pull request #3431 from adrian-prantl/sve4
adrian-prantl Oct 15, 2021
bd9eb1b
Merge pull request #3425 from apple/eng/PR-84224804
bnbarham Oct 15, 2021
be90eef
Move the ownership of DWARFASTParserSwift from SwiftASTContext to Typ…
adrian-prantl Oct 15, 2021
4656cc1
Don't create a SwiftASTContext just for ClearModuleDependentCaches() …
adrian-prantl Oct 15, 2021
69ca168
Add a test to ensure that no SwiftASTContext is initialized for setti…
adrian-prantl Oct 15, 2021
4b5f240
[modules] Make a module map referenced by a system map a system one too.
vsapsai Oct 9, 2021
4c76989
Merge pull request #3433 from apple/lldb-Duplicate-SwiftASTContext-Cr…
kastiglione Oct 16, 2021
137dc99
[SimplifyCFG] performBranchToCommonDestFolding(): require block-close…
LebedevRI Aug 15, 2021
8fb2406
Merge pull request #3429 from Teemperor/cherry/ff4c98c05559e498300bd3…
Teemperor Oct 16, 2021
22e5036
Merge pull request #3428 from Teemperor/RenameHealthCheck
Teemperor Oct 16, 2021
ae5104d
[clang] Capture Framework when HeaderSearch is resolved via headermap
cyndyishida Oct 15, 2021
afcee63
Merge pull request #3439 from etcwilde/ewilde/fix-SR-15302
etcwilde Oct 17, 2021
8ffb8dc
[VectorCombine] Add test showing issue when running VectorCombine early.
fhahn Oct 14, 2021
9594c69
[VectorCombine] Add option to only run scalarization transforms.
fhahn Oct 15, 2021
f2b003f
Merge pull request #3427 from apple/🍒/FBI/b225c5f7861c+b913065bf470
JDevlieghere Oct 18, 2021
9dddb46
Merge pull request #3435 from adrian-prantl/dwarfastparserswift
adrian-prantl Oct 18, 2021
6743226
Merge pull request #3437 from adrian-prantl/breakpointperf
adrian-prantl Oct 18, 2021
79e9860
Revert "Work around outdated system header files on Amazon Linux"
adrian-prantl Oct 18, 2021
3ffe24f
Work around outdated system header files on Amazon Linux
adrian-prantl Oct 12, 2021
42b122b
Merge pull request #3442 from adrian-prantl/sve5
shahmishal Oct 18, 2021
2d5f691
Revert "Work around outdated system header files on Amazon Linux"
adrian-prantl Oct 18, 2021
741bf6b
Work around outdated system header files on Amazon Linux
adrian-prantl Oct 12, 2021
3647999
Merge pull request #3443 from adrian-prantl/sve6
shahmishal Oct 18, 2021
08a2a45
[lldb] Fix nullptr dereference in AppleObjCRuntimeV2
JDevlieghere Oct 19, 2021
6c0ebd0
[debugserver] Fix BUILDING_FOR_ARM64_OSX
JDevlieghere Oct 19, 2021
c024102
[lldb/test] Update test/API/functionalities/load_lazy to macOS 12
vedantk Oct 18, 2021
b781af7
[WebAssembly] Emit clangast in custom section aligned by 4 bytes
kateinoigakukun Oct 19, 2021
b264c2a
[Index] Add an async symbol property
bnbarham Oct 19, 2021
3a8ddd7
Merge pull request #3447 from apple/eng/PR-81295101
vedantk Oct 20, 2021
110fe51
disable test on linux
adrian-prantl Oct 20, 2021
4ef5046
[LLDB][NFC] Remove parameter names from forward declarations from han…
shafik Oct 19, 2021
591a7af
[clang][modules] NFC: Propagate import `SourceLocation` into `HeaderS…
jansvoboda11 Oct 12, 2021
8c1e7c3
[clang][index] Pass `SourceLocation` into `HeaderSearch::lookupModule`
jansvoboda11 Oct 12, 2021
205820a
[clang][modules] Default `SourceLocation` parameter in `HeaderSearch:…
jansvoboda11 Oct 12, 2021
8f1cf04
[clang][lex] Remark on search path usage
jansvoboda11 Oct 12, 2021
16483ed
[clang][deps] Prune unused header search paths
jansvoboda11 Oct 12, 2021
4503176
[clang][modules] Avoid using uninitialized SourceLocation
jansvoboda11 Oct 13, 2021
feb9f30
[clang] NFC: Move class to make it reusable
jansvoboda11 Oct 13, 2021
0596831
[clang][modules] Cache loads of modules imported by PCH
jansvoboda11 Oct 12, 2021
134d5b0
[clang][modules] Fix pch-shared-module.c test
jansvoboda11 Oct 15, 2021
9278dd1
[clang][modules] Delay creating `IdentifierInfo` for names of explici…
jansvoboda11 Oct 18, 2021
601c9c5
[clang][deps] Ensure reported context hash is strict
jansvoboda11 Oct 21, 2021
3ba28c0
[clang][deps] NFC: Remove redundant CompilerInstance reference
jansvoboda11 Oct 21, 2021
bc6487f
[clang][deps] NFC: Rename scanning CompilerInstance
jansvoboda11 Oct 21, 2021
4289356
[clang][deps] NFC: Rename building CompilerInvocation
jansvoboda11 Oct 21, 2021
6029b46
[clang][deps] Make resource directory deduction configurable
jansvoboda11 Oct 21, 2021
9832b0a
Merge pull request #3454 from shafik/78265641_remove_params_from_fwd_…
shafik Oct 21, 2021
13ac86a
[lldb] Remove swiftc -enable-experimental-concurrency from tests
kastiglione Oct 21, 2021
e13bc92
Merge pull request #3453 from adrian-prantl/disable-vscode
adrian-prantl Oct 21, 2021
bd205b7
[driver] Explicitly specify `-fbuild-session-timestamp` in seconds.
vsapsai Oct 6, 2021
696c7a5
GlobalISel/AArch64: don't optimize away redundant branches at -O0
adrian-prantl Jun 30, 2021
354be65
Merge pull request #3456 from apple/lldb-Remove-swiftc-enable-experim…
kastiglione Oct 21, 2021
4e1bd8d
Add missing nullptr check
adrian-prantl Oct 21, 2021
77a5a49
Merge pull request #3444 from bnbarham/add-async-to-indexstore
bnbarham Oct 21, 2021
246fd90
[lldb] Always set the minimum OS version in the Darwin builder
JDevlieghere Oct 21, 2021
22bf6d0
[lldb] Include unistd.h for sleep in profile_vrs_detach
JDevlieghere Oct 22, 2021
eca53ab
Merge pull request #3441 from apple/jan_svoboda/cherry_pick
jansvoboda11 Oct 22, 2021
5160a19
Merge pull request #3459 from adrian-prantl/84438459
adrian-prantl Oct 22, 2021
ccd5c84
Merge pull request #3457 from adrian-prantl/79515454
adrian-prantl Oct 22, 2021
241060f
[lldb] Pass the target triple when determining the DWARF version
JDevlieghere Oct 22, 2021
c047bc9
Merge pull request #3464 from apple/🍒/FBI/0f12cf7ebaaf
JDevlieghere Oct 23, 2021
ec3ee55
Merge pull request #3445 from apple/🍒/FBI/957a5e987444
JDevlieghere Oct 23, 2021
d4a606b
[IR][GlobalDCE] Extend !vcall_visibility to be able to specify an off…
kubamracek Oct 23, 2021
b302f25
[LowerTypeTests] Allow custom sections when !typed_global_not_for_cfi…
kubamracek Oct 24, 2021
cef544c
[GlobalDCE] Add !llvm.used.conditional support for conditionally used…
kubamracek Oct 12, 2021
a0e1c60
[lldb/test] Remove XFAIL on TestSwiftStepping.py
medismailben Oct 25, 2021
e566cba
Merge pull request #3446 from apple/🍒/FBI/1529738b6619
JDevlieghere Oct 25, 2021
08067b9
Merge pull request #3463 from apple/🍒/FBI/08f4b56fb979
JDevlieghere Oct 25, 2021
fc04bf9
Merge pull request #3462 from apple/🍒/FBI/09b95b9dc9af
JDevlieghere Oct 25, 2021
e7f24a2
[lldb] Skip target variable test on AS
JDevlieghere Oct 18, 2021
de14972
[lldb] Skip tests for target var without a proc on both arm64 & arm64e
JDevlieghere Oct 26, 2021
3f17361
Merge pull request #3468 from medismailben/remove-xfail-TestSwiftStep…
medismailben Oct 26, 2021
88b7f32
Merge pull request #3470 from apple/🍒/FBI/c900b0a6d5f7+b1bb1d4c4688
JDevlieghere Oct 26, 2021
0aca635
[lldb] Move reference related functions to TypeSystemSwift
augusto2112 Oct 26, 2021
92251f5
[lldb] Implement GetPointeeType
augusto2112 Oct 26, 2021
d4afbfc
[lldb] Disable swift-create-module-contexts-in-parallel for a few tests
kastiglione Oct 27, 2021
92dc250
Merge pull request #3451 from kateinoigakukun/katei/cherry-pick-D74531
compnerd Oct 27, 2021
5ff0c29
Specify Clang vector builtins.
fhahn Oct 25, 2021
6a4f94c
[Clang] Add elementwise min/max builtins.
fhahn Oct 26, 2021
281dbc1
[Matrix] Replace some err kinds with err_builtin_invalid_arg_type. (NFC)
fhahn Oct 26, 2021
f40e3bf
Merge pull request #3472 from augusto2112/tsstyperef-pointee
augusto2112 Oct 27, 2021
818339f
Merge pull request #3471 from augusto2112/tsstyperef-non-reference-type
augusto2112 Oct 27, 2021
860affe
[lldb] Add message to functions not worth implementing in tss-typeref
augusto2112 Oct 25, 2021
c81320b
add comment and radar link
kastiglione Oct 27, 2021
3c6d4b1
[lldb] Move DumpSummary implementation to TypeSystemSwift
augusto2112 Oct 27, 2021
c8c963c
[lldb] Fixup code addresses in the Objective-C language runtime
JDevlieghere Oct 27, 2021
ff20ea9
Merge pull request #3474 from apple/lldb-Disable-swift-create-module-…
kastiglione Oct 27, 2021
dc39a8a
Fix Stable lldb Release Builds
Oct 27, 2021
34d2cd9
[modules] Fix IRGen assertion on accessing ObjC ivar inside a method.
vsapsai Sep 22, 2021
a616cbb
[modules] While merging ObjCInterfaceDecl definitions, merge them as …
vsapsai Sep 22, 2021
561bf5e
[modules] Fix tracking ObjCInterfaceType decl when there are multiple…
vsapsai Sep 24, 2021
2c0aca6
[modules] Update visibility for merged ObjCInterfaceDecl definitions.
vsapsai Sep 24, 2021
7d0e19d
Merge pull request #3477 from gmittert/fixbuild
adrian-prantl Oct 28, 2021
ea8afba
Merge pull request #3476 from apple/🍒/FBI/8bac9e3686e0
JDevlieghere Oct 28, 2021
e57ab30
[lldb] The os and version are not separate components in the triple
JDevlieghere Oct 27, 2021
0afeef8
Merge pull request #3478 from apple/eng/PR-82854574-objcinterfacedecl…
vsapsai Oct 28, 2021
871efdb
[clang][driver][darwin] support -target with Mac Catalyst triple with…
hyp Oct 28, 2021
3d5a368
pick https://reviews.llvm.org/D109402
hyp Oct 29, 2021
84f32a6
Merge pull request #3480 from apple/🍒/FBI/2c350730ca8b
JDevlieghere Oct 29, 2021
374252f
Merge pull request #3487 from apple/eng/alex-july-picks42
hyp Oct 29, 2021
30010bf
Merge pull request #3489 from apple/eng/alex-july-picks43
hyp Oct 29, 2021
668722c
build: optionalize some clang resource headers
compnerd Oct 31, 2021
bfd3cb1
Merge pull request #3491 from compnerd/shave-riscv
etcwilde Nov 1, 2021
2823377
[Clang] Add elementwise abs builtin.
fhahn Oct 27, 2021
8cf0600
[Clang] Add min/max reduction builtins.
fhahn Nov 2, 2021
e986f40
Coroutines: don't infer function attrs before lowering
TNorthover Oct 22, 2021
37d1272
Merge pull request #3498 from TNorthover/eng/PR-75451599
TNorthover Nov 4, 2021
5ae95ea
[debugserver] Fix typo in DNBArchImplARM64
JDevlieghere Nov 4, 2021
c89e744
Merge pull request #3475 from augusto2112/tsstyperef-dump-summary
augusto2112 Nov 5, 2021
fc24aff
Merge pull request #3467 from augusto2112/tsstyperef-forwarding-funct…
augusto2112 Nov 5, 2021
9bffefe
Merge pull request #3501 from apple/jdevlieghere/3120cadac782cd51f88f…
JDevlieghere Nov 5, 2021
83a8378
[lldb] Use reflection metadata to find the value type of an existential
augusto2112 Nov 5, 2021
4301f82
[lldb] Use std::string instead of llvm::Twine in GDBRemoteCommunicati…
JDevlieghere Nov 5, 2021
7439524
[lldb] Partly revert "Allow range-based for loops over DWARFDIE's chi…
Teemperor Aug 4, 2021
6dd305c
Merge pull request #3509 from apple/🍒/FBI/6d48e2505c7a
JDevlieghere Nov 6, 2021
1e21555
[lldb] Remove nested switches from ARMGetSupportedArchitectureAtIndex…
JDevlieghere Nov 6, 2021
f4451aa
[lldb] Remove 'result' variable which is set but not used (NFC)
JDevlieghere Nov 6, 2021
1512c8f
[lldb] Fix C2360: initialization of 'identifier' is skipped by 'case'…
JDevlieghere Nov 6, 2021
9c58adf
Merge pull request #3513 from apple/🍒/FBI/05fbe758906e+ef2efd2553e0+1…
JDevlieghere Nov 6, 2021
66d1e00
Revert "[lldb] Disable swift-create-module-contexts-in-parallel for a…
kastiglione Nov 8, 2021
7646d73
Merge pull request #3515 from apple/Revert-lldb-Disable-swift-create-…
kastiglione Nov 9, 2021
3a153b6
Support looking up absolute symbols
adrian-prantl Nov 9, 2021
9afd5a0
Add a requires line to test.
adrian-prantl Nov 9, 2021
f71c162
Use yaml2obj instead of relying on invoking the Darwin system assembler.
adrian-prantl Nov 9, 2021
f55350d
headers: optionalise some generated resource headers
compnerd Nov 9, 2021
b987701
test: mark more ARM64 tests are requiring the ARM backend
compnerd Nov 9, 2021
c41282e
Merge pull request #3520 from adrian-prantl/85093828
adrian-prantl Nov 10, 2021
2d7f32a
[ObjC][ARC] Use the addresses of the ARC runtime functions instead of…
ahatanaka Nov 10, 2021
3e4d39e
[SimplifyCFG] Add early bailout if Use is not in same BB.
fhahn Nov 9, 2021
e22643a
Merge pull request #3526 from compnerd/D112890
compnerd Nov 10, 2021
e19254f
Add support for "clang.arc.attachedcall" on x86-64 (#3527)
ahatanaka Nov 11, 2021
a160e45
[AArch64] Add missing tests for i8 vector to half conversions.
fhahn Nov 10, 2021
93bcb83
[AArch64] Use custom lowering for {U,S}INT_TO_FP with i8.
fhahn Nov 11, 2021
74973c3
[lldb] Fix that the embedded Python REPL crashes if it receives SIGINT
Teemperor Nov 12, 2021
3e4b7fd
[lldb/Plugins] Add support for ScriptedThread in ScriptedProcess
medismailben Oct 6, 2021
a66550e
[lldb/Plugins] Add memory region support in ScriptedProcess
medismailben Oct 8, 2021
577d278
[lldb/test] Disable TestScriptedProcess.py unless Darwin
medismailben Oct 8, 2021
27e3dc6
[lldb] Fix windows build failure due to undefined macro
medismailben Oct 8, 2021
8778f15
[lldb/Plugins] Replace platform-specific macro with LLVM_PRETTY_FUNCT…
medismailben Oct 8, 2021
984f2c2
[lldb/test] Disable 'TestScriptedProcess.py' on macOS
medismailben Oct 10, 2021
3a083b5
[lldb] Fix Scripted ProcessLaunchInfo Argument nullptr deref
medismailben Nov 10, 2021
fd6b58b
[lldb/bindings] Change ScriptedThread initializer parameters
medismailben Oct 19, 2021
77b929d
[LLDB] Skip TestScriptedProcess on Arm/AArch64 Linux
omjavaid Oct 11, 2021
11ab69d
[lldb/test] Update TestScriptedProcess to use skinny corefiles
medismailben Nov 10, 2021
ff790af
[lldb/test] Skip TestScriptedProcess when using system's debugserver …
medismailben Nov 10, 2021
c7b4936
[lldb/Plugins] Refactor ScriptedThread register context creation
medismailben Nov 10, 2021
4c10566
[lldb] Fix ScriptedThread build failure (NFC)
medismailben Nov 14, 2021
a7c4c5f
[lldb/bindings] Update python static bindings (NFC)
medismailben Nov 15, 2021
907d6b0
Merge pull request #3535 from medismailben/stable/20210726
medismailben Nov 15, 2021
ec45ce2
Merge pull request #3533 from Teemperor/cherry/cef1e07cc6d00b5b429d77…
JDevlieghere Nov 16, 2021
854ae3c
Coro: Remove coro_end and coro_suspend_retcon in private unprocessed …
aschwaighofer Nov 16, 2021
6030419
Revert "[lldb] Fix that the embedded Python REPL crashes if it receiv…
compnerd Nov 16, 2021
4a3cc71
Merge pull request #3543 from apple/revert-3533-cherry/cef1e07cc6d00b…
shahmishal Nov 16, 2021
b9226b0
[modules] Update visibility for merged ObjCProtocolDecl definitions.
vsapsai Oct 15, 2021
88c7ab5
Merge pull request #3544 from aschwaighofer/coro_remove_intrinsics_in…
aschwaighofer Nov 18, 2021
5d5d035
Allow __attribute__((swift_attr)) in attribute push pragmas
beccadax Nov 17, 2021
27222cd
Merge pull request #3547 from beccadax/send-me-an-object-stable
beccadax Nov 19, 2021
74483fb
Headers: exclude `#include_next <stdatomic.h>` on MSVC
compnerd Nov 24, 2021
6d39825
Merge pull request #3578 from compnerd/atomics-msvc
compnerd Nov 29, 2021
9405180
Merge pull request #3508 from augusto2112/find-value-type-refl
augusto2112 Nov 29, 2021
7a77da8
[lldb] Remove unused GetAllocationStrategy function
augusto2112 Nov 29, 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
33 changes: 33 additions & 0 deletions apple-ci/clang/am/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/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" \
$SRC_DIR/llvm && $NINJA
Loading