https://github.com/apple/swift

sort by:
Revision Author Date Message Commit Date
d7b1a99 Merge pull request #13029 from bob-wilson/rdar35100697 20 November 2017, 04:57:36 UTC
185685c IRGen: Nuke isSILOnly usage It queried for [transparent] [serialized] definitions and only had an effect when the module was compiled with -Onone because we remove [serialized] as part of the optimizer pipeline. It was causing bad effects when the module we imported from was compiled with -Onone: The definition would be marked internal in said module. and the importing module is compile with -O: The definition would be marked as available_externally. because neither would guaranteed the presence of a definition of the imported symbol available to the importer. rdar://35100697 20 November 2017, 02:47:35 UTC
a6a4ff8 Merge pull request #12994 from xedin/rdar-35540159-4.1 [4.1] [CSSolver] Prune disjunction choices based on their equivalence class 17 November 2017, 23:42:05 UTC
2e3c49e [CSSolver] Prune disjunction choices based on their equivalence class There are situations where we know equivalence relationship between multiple disjunctions, let's prune dependent choice space based on choice picked for the parent disjunction. Resolves: rdar://problem/35540159 17 November 2017, 21:11:39 UTC
558b683 [di] Once we have exclusively borrowed self, if we go down the non-formal evaluation path, copy instead of asserting. We can only do this for two reasons: 1. There is a code path that should have gone through the non-exclusively borrowed self entrypoints, but they were not implemented. 2. We are trying to access self for an argument. By copying the value, we preserve invariants around ownership and also make it easy for DI to catch 2 and not blow up in the case of 1. It is better to error in DI incorrectly, than to hit an unreachable (especially since in non-assert builds, we don't trap at unreachables and just continue to the next function in the text segment). SR-5682 rdar://35402738 (cherry picked from commit 2914c6b0f53eb9063234ab11bdc126a3ce3922e5) 16 November 2017, 23:59:56 UTC
5f5db77 Merge pull request #12963 from slavapestov/string-member-fix-4.1 Sema: Coerce base to rvalue when calling a DeclViaBridging overload kind [4.1] 16 November 2017, 23:48:42 UTC
8f717c2 Sema: Coerce base to rvalue when calling a DeclViaBridging overload kind This code path is only used for a special purpose hack to make NSString members available on String. Since it is rarely exercised, it was broken. 16 November 2017, 09:04:08 UTC
2373449 Merge pull request #12945 from rjmccall/block-to-func-formal-bridging-4.1 Bridge the formal block type in a block-to-func thunk 16 November 2017, 08:15:13 UTC
1c17a90 Merge pull request #12951 from adrian-prantl/cherry 16 November 2017, 03:04:12 UTC
bf30b39 master-next: Update IRGenDebugInfo.cpp for LLVM r313825 LLVM r313825 replaced llvm::FindAllocaDbgDeclare with FindDbgAddrUses, and we also need to include LLVM's IntrinsicInst.h header now. rdar://problem/34574938 (cherry picked from commit 6b446a0d38629d0611b00ecf3a27d749fb12b9b4) 15 November 2017, 22:28:06 UTC
c41f3a5 When building a block-to-func reabstraction thunk, be sure to bridge the block's formal parameter and result types, because otherwise the bridging code gets real confused. Fixes rdar://35402696 15 November 2017, 18:50:32 UTC
6b48102 Add support to AccessEnforcementSelection for borrowed SILValues. Previously, this asserted on unexpected situations that the optimizer couldn't handle. It makes more sense now to handle these cases conservatively since we can't catch them in early testing. Fixes <rdar://problem/35402799> [4.1] Assertion failed: (user->getResults().empty()) 14 November 2017, 17:27:09 UTC
8371f14 Merge pull request #12915 from slavapestov/reabstract-bridged-value-4.1 SILGen: Fix bridging of optional function types to AnyObject [4.1] 14 November 2017, 08:25:01 UTC
1cc577e Merge pull request #12912 from aschwaighofer/swift-4.1-branch-disable-model-io-test [4.1] Disable ModelIO test on ios on tvos 14 November 2017, 06:26:44 UTC
1e61cd6 SILGen: Fix bridging of optional function types to AnyObject Fixes <rdar://problem/35403187>. 14 November 2017, 03:18:06 UTC
ad0c287 [4.1] Disable ModelIO test on ios on tvos rdar://35490456 14 November 2017, 01:45:48 UTC
2ee9fdf Merge pull request #12858 from xedin/35458963-4.1 [Immediate] Move to new diagnostic handler model when trying to link modules 10 November 2017, 19:24:57 UTC
c16ddb6 [Immediate] Move to new diagnostic handler model when trying to link modules These changes are trying to fix problem related to changes from upstream LLVM which changes the way how diagnostics are handled in presence of linker failures. Resolves: rdar://problem/35458963 10 November 2017, 19:23:33 UTC
3bf3b1c Force foundation and libdispatch to re-build always on non-darwin platforms. (#12736) (#12829) * Force foundation and libdispatch to re-build always on non-darwin platforms. (#12736) (cherry picked from commit bef1e6d0f1627c8720426e579f8752b5ca264a2a) * Ignore missing foundation and libdispatch build directories when attempting to remove them on non-darwin platforms. (cherry picked from commit 60c145de87aab67017c3a9a4de251c219533fc46) 09 November 2017, 19:09:14 UTC
607f23d Merge pull request #12770 from slavapestov/infinite-fractal-of-corner-cases-4.1 Sema: Fix source compatibility break with default initialization of optional properties [4.1] 06 November 2017, 02:38:33 UTC
ca6e7ab Sema: Fix source compatibility break with default initialization of optional properties In Swift 4, properties declared with a sugared Optional type, like Int?, have a default value of nil. This can be observed in two ways: - Classes and structs get an implicit no-argument initializer - Designated initializers don't have to initialize this property Note that this did not apply in general to properties where the type was spelled explicitly as Optional<Int>, etc, mostly because of implementation restrictions -- when we check if a type has implicit initializers, we have not realized types for all stored property members yet, and doing so is not really possible without the iterative decl checker. However, in some cases, we *did* perform default initialization for Optional<Int>, because of some code duplication and divergent code paths. A recent refactoring cleaned up some of the mess in this area, but accidentally broke source compatibility with code that relied on the broken Optional<Int> case. Fix this by simulating the old behavior in -swift-version 4, and preserving the more correct behavior in -swift-version 5. Fixes <rdar://problem/35319847>. 05 November 2017, 06:51:56 UTC
b356afc Merge pull request #12729 from jrose-apple/bridging-typedefs-is-hard (#12737) [ClangImporter] Bridging can happen even without full bridgeability rdar://problem/34913634 03 November 2017, 02:36:21 UTC
e4d3ba4 Merge pull request #12675 from rjmccall/labeled-setter-parameters-4.1 [4.1] Handle labeled singleton tuples in the setter value argument 01 November 2017, 05:13:43 UTC
a8cfb77 Merge pull request #12680 from DougGregor/importer-bridged-typedef-4.1 [Clang importer] Fix bridging of the underlying types of typedefs. 31 October 2017, 13:48:58 UTC
3821f6e Merge pull request #12677 from graydon/rdar-34913689-dead-function-elim-vs-foreign-declref-keypaths-swift-4.1-branch 30 October 2017, 23:34:31 UTC
f896b91 [Clang importer] Fix bridging of the underlying types of typedefs. Typedefs tend to be imported without bridging the underlying type. However, when a typedef is used within a bridging context, we should bridge based on the underlying type. That wasn't being done consistently, causing us to import various typedefs without bridging at all. Update the logic to use the bridged underlying type whenever the (often unbridged) typedef type itself doesn't line up. Fixes rdar://problem/34913507. (cherry picked from commit 687d753448f33a51b4499aed856d03da6c3b38bc) 30 October 2017, 22:59:10 UTC
cbcd313 [DeadFunctionElimination] Pass on keypaths to foreign DeclRef properties. These show up specifically when someone forms a keypath to an ObjC property in a category. They're no-ops from the perspective of DFE but the code has to intentionally skip the case if it wants to avoid the subsequent llvm_unreachable. rdar://34913689 (cherry picked from commit 3ef686bf9220f2451521a95c09c2b303a4985e70) 30 October 2017, 21:15:47 UTC
5393208 Test portability fix. 30 October 2017, 20:39:32 UTC
b254208 Handle labeled singleton tuples in the setter value argument. This can get introduced by somewhat pathological behavior in the importer combined with SILGenApply's reliance on parallel tuple destructuring. Both of these should be fixed, but this patch is much simpler. rdar://34913800 30 October 2017, 18:05:41 UTC
56bc5a6 Merge pull request #12616 from apple/enable-lldb-and-package-tests Enable lldb build and package tests 26 October 2017, 02:59:46 UTC
b699079 Fix LoadableByAddress to handle convert_functions. Handle function_ref -> convert_function -> thin_to_thick. Fixes <rdar://problem/35059942> Failed - Lark, 3.0, Swift Package - Source Compatibility Suite (master) 25 October 2017, 15:52:28 UTC
3fe2db9 Fix a use-after-free in MandatoryInlining. Bug introduced in @noescape lowering: https://github.com/apple/swift/pull/12420 Fixes <rdar://problem/35055251> FAILED: ASAN use-after-free in MandatoryInlining. 25 October 2017, 15:52:28 UTC
8a185bf Enable lldb test and test-installable-package (33715252) 25 October 2017, 07:20:28 UTC
1d8e0af Merge pull request #12535 from aschwaighofer/swift-4.1-branch-disable-signaling-nan-test-i386 Disable signaling NaN tests on i386 21 October 2017, 01:03:21 UTC
78709c6 [build-script-impl] Remove destdir from cmake install path for libdispatch This is passed as an env variable so it is not needed in the prefix. 20 October 2017, 23:51:23 UTC
a719453 Disable signaling NaN tests on i386 i386 does not support signaling NaNs (SR-1515) rdar://35085021 (cherry picked from commit 3a0ac6277606cfcfe858a3afd915e1e974c9020e) 20 October 2017, 22:45:20 UTC
3519dd3 [Update-checkout] Update swift-4.1-branch to checkout new branches 18 October 2017, 21:11:28 UTC
14d437c The code owner role for the standard library has transitioned to Ben Cohen. 18 October 2017, 19:39:01 UTC
ce351d4 Merge pull request #12498 from gparker42/GrP-PR-9DAA3F9E-F48B-452E-866F-7C15874A00AA [test] Temporarily XFAIL two UnsafeBufferPointer tests pending rdar://35052802 18 October 2017, 17:29:27 UTC
f1fda3c [test] Temporarily XFAIL two UnsafeBufferPointer tests pending rdar://35052802. 18 October 2017, 17:02:54 UTC
72456f5 Merge pull request #12496 from davezarzycki/nfc_ExtInfo_withAPI_warn_unused_result [AST] NFC: Warn if ExtInfo "with*" API results are unused 18 October 2017, 13:04:17 UTC
90d71c3 Merge pull request #12497 from gparker42/revert-11311 Revert "[stdlib] Fix FloatingPoint.init(exactly:)" 18 October 2017, 10:35:43 UTC
72c65ff Revert "[stdlib] Fix FloatingPoint.init(exactly:) (#11311)" This reverts commit c9f4df84f6bb3dfb8ab80a27b86eea26b8fc876c. It is causing test failures on 32-bit iOS simulator and on Linux. 18 October 2017, 08:17:08 UTC
a0ea0ba Merge pull request #12494 from DougGregor/gsb-resolved-type [GSB] Start delaying the realization of potential archetypes 18 October 2017, 06:05:16 UTC
1892dbd Cope with ill-formed recursion in associated type overrides computation. Fixes some crasher regressions and accounts for some newly-fixed crashers. 18 October 2017, 05:23:14 UTC
b046a35 [GSB] Eliminate visitPotentialArchetypes(). Walking all of the potential archetypes is expensive. Instead, walk the equivalence classes, which are the fundamental unit. 18 October 2017, 04:00:24 UTC
3177edc [GSB] Eliminate an unnecessary archetype-anchor computation. 18 October 2017, 04:00:24 UTC
c346b81 [GSB] Eliminate the "local archetype anchor" hack. We're now getting the right set of potential archetypes, so this hack is just extraneous work. Reduces the number of lookups into the equivalence class nested type cache by ~24%, but only improves type-checking performance of the standard library by ~3%. 18 October 2017, 04:00:24 UTC
476a557 [GSB] Eliminate some now-unused API on PotentialArchetype. 18 October 2017, 04:00:24 UTC
0d42fbf [GSB] Delay realization of potential archetypes for conformance requirements. While here, consolidate PotentialArchetype::addConformance() into EquivalenceClass::recordConformanceConstraint(). 18 October 2017, 04:00:24 UTC
3ac1b3b [GSB] Push potential archetype realization into addConformanceRequirement(). 18 October 2017, 04:00:24 UTC
5049119 [GSB] Only concrete the immediate type from its concrete parent. Spinning through all of its equivalence-class members is just busywork. 18 October 2017, 04:00:24 UTC
7084126 [GSB] Teach resolveConcreteConformance() to use ResolvedType. 18 October 2017, 04:00:24 UTC
760f23a [GSB] Teach much of superclass-constraint handling to use ResolvedType. We're still realizing potential archetypes far too often, but it's a start. 18 October 2017, 04:00:24 UTC
4f339eb [GSB] Push potential archetype realization layout-constraint handling. We want to delay the realization of potential archetypes as late as possible; for layout constraints, push realization of potential archetypes down past the point where we know whether we’re learning anything new about the equivalence class. No functionality change, yet. 18 October 2017, 04:00:24 UTC
de5e047 [GSB] Rename ResolveResult to ResolvedType. The old name was the better one; now we have a better (single) representation. 18 October 2017, 04:00:24 UTC
36e1ba2 [GSB] Collapse "ResolvedType" into the more general "ResolveResult". The latter describes more directly-relevant information. 18 October 2017, 04:00:23 UTC
2f1e74b [GSB] Minor simplification to resolve(). 18 October 2017, 04:00:23 UTC
8753aac [GSB] Eliminate resolvePotentialArchetype(). maybeResolveEquivalenceClass() can do all of this already. 18 October 2017, 04:00:23 UTC
9c85324 [GSB] Switch the core "resolve" over to maybeResolveEquivalenceClass(). 18 October 2017, 04:00:23 UTC
bed0e27 [AST] NFC: Warn if ExtInfo "with*" API results are unused 18 October 2017, 00:01:44 UTC
d369aa4 Support @noescape SIL function types. (#12420) Support for @noescape SILFunctionTypes. These are the underlying SIL changes necessary to implement the new closure capture ABI. Note: This includes a change to function name mangling that primarily affects reabstraction thunks. The new ABI will allow stack allocation of non-escaping closures as a simple optimization. The new ABI, and the stack allocation optimization, also require closure context to be @guaranteed. That will be implemented as the next step. Many SIL passes pattern match partial_apply sequences. These all needed to be fixed to handle the convert_function that SILGen now emits. The conversion is now needed whenever a function declaration, which has an escaping type, is passed into a @NoEscape argument. In addition to supporting new SIL patterns, some optimizations like inlining and SIL combine are now stronger which could perturb some benchmark results. These underlying SIL changes should be merged now to avoid conflicting with other work. Minor benchmark discrepancies can be investigated as part of the stack-allocation work. * Add a noescape attribute to SILFunctionType. And set this attribute correctly when lowering formal function types to SILFunctionTypes based on @escaping. This will allow stack allocation of closures, and unblock a related ABI change. * Flip the polarity on @noescape on SILFunctionType and clarify that we don't default it. * Emit withoutActuallyEscaping using a convert_function instruction. It might be better to use a specialized instruction here, but I'll leave that up to Andy. Andy: And I'll leave that to Arnold who is implementing SIL support for guaranteed ownership of thick function types. * Fix SILGen and SIL Parsing. * Fix the LoadableByAddress pass. * Fix ClosureSpecializer. * Fix performance inliner constant propagation. * Fix the PartialApplyCombiner. * Adjust SILFunctionType for thunks. * Add mangling for @noescape/@escaping. * Fix test cases for @noescape attribute, mangling, convert_function, etc. * Fix exclusivity test cases. * Fix AccessEnforcement. * Fix SILCombine of convert_function -> apply. * Fix ObjC bridging thunks. * Various MandatoryInlining fixes. * Fix SILCombine optimizeApplyOfConvertFunction. * Fix more test cases after merging (again). * Fix ClosureSpecializer. Hande convert_function cloning. Be conservative when combining convert_function. Most of our code doesn't know how to deal with function type mismatches yet. * Fix MandatoryInlining. Be conservative with function conversion. The inliner does not yet know how to cast arguments or convert between throwing forms. * Fix PartialApplyCombiner. 17 October 2017, 20:07:25 UTC
c9f4df8 [stdlib] Fix FloatingPoint.init(exactly:) (#11311) * [stdlib] Fix FloatingPoint.init(exactly:) This initializer wasn't actually checking the exact conversion. Corrects the tests as well. 17 October 2017, 18:52:11 UTC
b571dd8 Merge pull request #12482 from xedin/improve-variadic-mangling [Mangling] Improve handling of the variadic function parameters 17 October 2017, 18:20:28 UTC
17fb338 Merge pull request #12486 from DougGregor/sr-6141 17 October 2017, 18:17:38 UTC
d6bd66e Add fixed test case for SR-6141 / rdar://problem/35008570. 17 October 2017, 16:52:10 UTC
b67aaef Merge pull request #12484 from shajrawi/relax_verify Relax the open_existential_addr immutable_access verifier further after sil-combine bail-out 17 October 2017, 10:18:13 UTC
23b519a Merge pull request #12485 from practicalswift/swiftc-28864-bool-typesig-bool-extensionsig-unexpected-generic-ness-mismatch-on-conformance [swiftc (70 vs. 5600)] Add crasher in swift::ASTContext::getConformance 17 October 2017, 08:41:13 UTC
abc88ef [swiftc (70 vs. 5600)] Add crasher in swift::ASTContext::getConformance Add test case for crash triggered in `swift::ASTContext::getConformance`. Current number of unresolved compiler crashers: 70 (5600 resolved) /cc @huonw - just wanted to let you know that this crasher caused an assertion failure for the assertion `(bool)typeSig == (bool)extensionSig && "unexpected generic-ness mismatch on conformance"` added on 2017-09-14 by you in commit 945f723d :-) Assertion failure in [`lib/AST/ProtocolConformance.cpp (line 320)`](https://github.com/apple/swift/blob/01416ab5bf42891ba33c6ed7ad959fef8e2b1117/lib/AST/ProtocolConformance.cpp#L320): ``` Assertion `(bool)typeSig == (bool)extensionSig && "unexpected generic-ness mismatch on conformance"' failed. When executing: void swift::NormalProtocolConformance::differenceAndStoreConditionalRequirements() ``` Assertion context: ```c++ ->getGenericSignature(); auto extensionSig = DC->getGenericSignatureOfContext(); // If the type is generic, the extension should be too, and vice versa. assert((bool)typeSig == (bool)extensionSig && "unexpected generic-ness mismatch on conformance"); if (!typeSig) return; auto canExtensionSig = extensionSig->getCanonicalSignature(); auto canTypeSig = typeSig->getCanonicalSignature(); ``` Stack trace: ``` 0 0x0000000003ebc124 PrintStackTraceSignalHandler(void*) (/path/to/swift/bin/swift+0x3ebc124) 1 0x0000000003ebc466 SignalHandler(int) (/path/to/swift/bin/swift+0x3ebc466) 2 0x00007f1c947e3390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) 3 0x00007f1c92d08428 gsignal /build/glibc-bfm8X4/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0 4 0x00007f1c92d0a02a abort /build/glibc-bfm8X4/glibc-2.23/stdlib/abort.c:91:0 5 0x00007f1c92d00bd7 __assert_fail_base /build/glibc-bfm8X4/glibc-2.23/assert/assert.c:92:0 6 0x00007f1c92d00c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82) 7 0x00000000016dcc3b (/path/to/swift/bin/swift+0x16dcc3b) 8 0x00000000015ad8fc swift::ASTContext::getConformance(swift::Type, swift::ProtocolDecl*, swift::SourceLoc, swift::DeclContext*, swift::ProtocolConformanceState) (/path/to/swift/bin/swift+0x15ad8fc) 9 0x0000000001708ab3 swift::ConformanceLookupTable::getConformance(swift::NominalTypeDecl*, swift::ConformanceLookupTable::ConformanceEntry*) (/path/to/swift/bin/swift+0x1708ab3) 10 0x000000000170c53b bool __gnu_cxx::__ops::_Iter_pred<swift::ConformanceLookupTable::lookupConformances(swift::NominalTypeDecl*, swift::DeclContext*, swift::LazyResolver*, swift::ConformanceLookupKind, llvm::SmallVectorImpl<swift::ProtocolDecl*>*, llvm::SmallVectorImpl<swift::ProtocolConformance*>*, llvm::SmallVectorImpl<swift::ConformanceDiagnostic>*)::$_12>::operator()<swift::ConformanceLookupTable::ConformanceEntry**>(swift::ConformanceLookupTable::ConformanceEntry**) (/path/to/swift/bin/swift+0x170c53b) 11 0x0000000001709287 swift::ConformanceLookupTable::lookupConformances(swift::NominalTypeDecl*, swift::DeclContext*, swift::LazyResolver*, swift::ConformanceLookupKind, llvm::SmallVectorImpl<swift::ProtocolDecl*>*, llvm::SmallVectorImpl<swift::ProtocolConformance*>*, llvm::SmallVectorImpl<swift::ConformanceDiagnostic>*) (/path/to/swift/bin/swift+0x1709287) 12 0x00000000016dee3f swift::DeclContext::getLocalConformances(swift::ConformanceLookupKind, llvm::SmallVectorImpl<swift::ConformanceDiagnostic>*, bool) const (/path/to/swift/bin/swift+0x16dee3f) 13 0x00000000012ea9a6 swift::TypeChecker::checkConformancesInContext(swift::DeclContext*, swift::IterableDeclContext*) (/path/to/swift/bin/swift+0x12ea9a6) 14 0x00000000012b7898 (anonymous namespace)::DeclChecker::visitExtensionDecl(swift::ExtensionDecl*) (/path/to/swift/bin/swift+0x12b7898) 15 0x00000000012a631f (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0x12a631f) 16 0x00000000012a6183 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) (/path/to/swift/bin/swift+0x12a6183) 17 0x0000000001338f7a swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int, unsigned int, unsigned int) (/path/to/swift/bin/swift+0x1338f7a) 18 0x0000000001057b54 swift::CompilerInstance::parseAndTypeCheckMainFile(swift::PersistentParserState&, swift::DelayedParsingCallbacks*, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>) (/path/to/swift/bin/swift+0x1057b54) 19 0x0000000001056c17 swift::CompilerInstance::parseAndCheckTypes(swift::CompilerInstance::ImplicitImports const&) (/path/to/swift/bin/swift+0x1056c17) 20 0x000000000105653a swift::CompilerInstance::performSema() (/path/to/swift/bin/swift+0x105653a) 21 0x00000000004bfec5 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) (/path/to/swift/bin/swift+0x4bfec5) 22 0x00000000004bec2b swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/path/to/swift/bin/swift+0x4bec2b) 23 0x0000000000476fd4 main (/path/to/swift/bin/swift+0x476fd4) 24 0x00007f1c92cf3830 __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:325:0 25 0x0000000000474889 _start (/path/to/swift/bin/swift+0x474889) ``` 17 October 2017, 08:11:24 UTC
01416ab Merge pull request #12483 from practicalswift/swiftc-28863-t-is-archetypetype-t-isexistentialtype-expected-a-class-archetype-or-existential [swiftc (69 vs. 5600)] Add crasher in swift::TypeBase::getSuperclassForDecl 17 October 2017, 08:11:03 UTC
97250c8 Merge pull request #12477 from DougGregor/gsb-lazy-resolve-equiv-classes 17 October 2017, 07:33:35 UTC
0d3d3ef [swiftc (69 vs. 5600)] Add crasher in swift::TypeBase::getSuperclassForDecl Add test case for crash triggered in `swift::TypeBase::getSuperclassForDecl`. Current number of unresolved compiler crashers: 69 (5600 resolved) /cc @slavapestov - just wanted to let you know that this crasher caused an assertion failure for the assertion `t->is<ArchetypeType>() || t->isExistentialType() && "expected a class, archetype or existential"` added on 2017-04-07 by you in commit 473faf1e :-) Assertion failure in [`lib/AST/Type.cpp (line 3245)`](https://github.com/apple/swift/blob/ab06b148ee0a83c35d9bc3d0e6fd47eaaffe89c2/lib/AST/Type.cpp#L3245): ``` Assertion `t->is<ArchetypeType>() || t->isExistentialType() && "expected a class, archetype or existential"' failed. When executing: swift::Type swift::TypeBase::getSuperclassForDecl(const swift::ClassDecl *) ``` Assertion context: ```c++ // If we have a class-constrained archetype or class-constrained // existential, get the underlying superclass constraint. auto *nominalDecl = t->getAnyNominal(); if (!nominalDecl) { assert(t->is<ArchetypeType>() || t->isExistentialType() && "expected a class, archetype or existential"); t = t->getSuperclass(); assert(t && "archetype or existential is not class constrained"); continue; } assert(isa<ClassDecl>(nominalDecl) && "expected a class here"); ``` Stack trace: ``` 0 0x0000000003ebc124 PrintStackTraceSignalHandler(void*) (/path/to/swift/bin/swift+0x3ebc124) 1 0x0000000003ebc466 SignalHandler(int) (/path/to/swift/bin/swift+0x3ebc466) 2 0x00007f9690e07390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) 3 0x00007f968f32c428 gsignal /build/glibc-bfm8X4/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0 4 0x00007f968f32e02a abort /build/glibc-bfm8X4/glibc-2.23/stdlib/abort.c:91:0 5 0x00007f968f324bd7 __assert_fail_base /build/glibc-bfm8X4/glibc-2.23/assert/assert.c:92:0 6 0x00007f968f324c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82) 7 0x00000000016f4c5a swift::TypeBase::getSuperclassForDecl(swift::ClassDecl const*) (/path/to/swift/bin/swift+0x16f4c5a) 8 0x00000000016f4d5f swift::TypeBase::getContextSubstitutions(swift::DeclContext const*, swift::GenericEnvironment*) (/path/to/swift/bin/swift+0x16f4d5f) 9 0x00000000012734a1 swift::constraints::ConstraintSystem::openUnboundGenericType(swift::UnboundGenericType*, swift::constraints::ConstraintLocatorBuilder, llvm::DenseMap<swift::GenericTypeParamType*, swift::TypeVariableType*, llvm::DenseMapInfo<swift::GenericTypeParamType*>, llvm::detail::DenseMapPair<swift::GenericTypeParamType*, swift::TypeVariableType*> >&) (/path/to/swift/bin/swift+0x12734a1) 10 0x0000000001279f20 swift::Type llvm::function_ref<swift::Type (swift::Type)>::callback_fn<swift::constraints::ConstraintSystem::openUnboundGenericType(swift::Type, swift::constraints::ConstraintLocatorBuilder)::$_1>(long, swift::Type) (/path/to/swift/bin/swift+0x1279f20) 11 0x00000000016fc286 llvm::Optional<swift::Type> llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>::callback_fn<swift::Type::transform(llvm::function_ref<swift::Type (swift::Type)>) const::$_15>(long, swift::TypeBase*) (/path/to/swift/bin/swift+0x16fc286) 12 0x00000000016f56f6 swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const (/path/to/swift/bin/swift+0x16f56f6) 13 0x00000000016f5783 swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const (/path/to/swift/bin/swift+0x16f5783) 14 0x00000000016f60e7 swift::Type::transformRec(llvm::function_ref<llvm::Optional<swift::Type> (swift::TypeBase*)>) const (/path/to/swift/bin/swift+0x16f60e7) 15 0x00000000016eca17 swift::Type::transform(llvm::function_ref<swift::Type (swift::Type)>) const (/path/to/swift/bin/swift+0x16eca17) 16 0x0000000001273be8 swift::constraints::ConstraintSystem::openUnboundGenericType(swift::Type, swift::constraints::ConstraintLocatorBuilder) (/path/to/swift/bin/swift+0x1273be8) 17 0x000000000122c292 swift::ASTVisitor<(anonymous namespace)::ConstraintGenerator, swift::Type, void, void, void, void, void>::visit(swift::Expr*) (/path/to/swift/bin/swift+0x122c292) 18 0x00000000012320be (anonymous namespace)::ConstraintWalker::walkToExprPost(swift::Expr*) (/path/to/swift/bin/swift+0x12320be) 19 0x000000000163319c swift::Expr::walk(swift::ASTWalker&) (/path/to/swift/bin/swift+0x163319c) 20 0x0000000001228bbf swift::constraints::ConstraintSystem::generateConstraints(swift::Expr*) (/path/to/swift/bin/swift+0x1228bbf) 21 0x0000000001256a11 swift::constraints::ConstraintSystem::solve(swift::Expr*&, swift::Type, swift::ExprTypeCheckListener*, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) (/path/to/swift/bin/swift+0x1256a11) 22 0x000000000128aae7 swift::TypeChecker::solveForExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem&, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>) (/path/to/swift/bin/swift+0x128aae7) 23 0x000000000128e8ac swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem*) (/path/to/swift/bin/swift+0x128e8ac) 24 0x00000000012931d6 swift::TypeChecker::typeCheckBinding(swift::Pattern*&, swift::Expr*&, swift::DeclContext*, bool) (/path/to/swift/bin/swift+0x12931d6) 25 0x0000000001293456 swift::TypeChecker::typeCheckPatternBinding(swift::PatternBindingDecl*, unsigned int, bool) (/path/to/swift/bin/swift+0x1293456) 26 0x00000000012abd98 validatePatternBindingEntries(swift::TypeChecker&, swift::PatternBindingDecl*) (/path/to/swift/bin/swift+0x12abd98) 27 0x00000000012a6338 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0x12a6338) 28 0x00000000012b826b (anonymous namespace)::DeclChecker::visitClassDecl(swift::ClassDecl*) (/path/to/swift/bin/swift+0x12b826b) 29 0x00000000012a63de (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0x12a63de) 30 0x00000000012b826b (anonymous namespace)::DeclChecker::visitClassDecl(swift::ClassDecl*) (/path/to/swift/bin/swift+0x12b826b) 31 0x00000000012a63de (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0x12a63de) 32 0x00000000012a6183 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) (/path/to/swift/bin/swift+0x12a6183) 33 0x0000000001338ef5 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int, unsigned int, unsigned int) (/path/to/swift/bin/swift+0x1338ef5) 34 0x0000000001057b54 swift::CompilerInstance::parseAndTypeCheckMainFile(swift::PersistentParserState&, swift::DelayedParsingCallbacks*, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>) (/path/to/swift/bin/swift+0x1057b54) 35 0x0000000001056c17 swift::CompilerInstance::parseAndCheckTypes(swift::CompilerInstance::ImplicitImports const&) (/path/to/swift/bin/swift+0x1056c17) 36 0x000000000105653a swift::CompilerInstance::performSema() (/path/to/swift/bin/swift+0x105653a) 37 0x00000000004bfec5 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) (/path/to/swift/bin/swift+0x4bfec5) 38 0x00000000004bec2b swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/path/to/swift/bin/swift+0x4bec2b) 39 0x0000000000476fd4 main (/path/to/swift/bin/swift+0x476fd4) 40 0x00007f968f317830 __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:325:0 41 0x0000000000474889 _start (/path/to/swift/bin/swift+0x474889) ``` 17 October 2017, 07:29:10 UTC
ab06b14 Merge pull request #12481 from practicalswift/swiftc-28862-swift-protocoldecl-getinheritedprotocols-const [swiftc (68 vs. 5600)] Add crasher in swift::TypeBase::getCanonicalType(...) 17 October 2017, 07:28:48 UTC
b9c93bd Relax the open_existential_addr immutable_access verifier further after sil-combine bail-out 17 October 2017, 07:26:06 UTC
8f26fb8 [Mangling] Improve handling of the variadic function parameters Currently when function types like `(_: Int...) -> Void` are mangled their names are going to include enclosing sugar BoundGenericType(Array), which is not necessary and doesn’t play well with `AnyFunctionType::Param` which strips the sugar away. Resolves: rdar://problem/34941557 17 October 2017, 07:16:12 UTC
9314e48 [GSB] We don't need an anchor to resolve into an equivalence class. Any potential archetype with the lowest depth in the equivalence class will do when we're resolving for equivalence classes, so keep the lowest-depth potential archetype handy. 17 October 2017, 06:24:35 UTC
8f4bb5b [swiftc (68 vs. 5600)] Add crasher in swift::TypeBase::getCanonicalType(...) Add test case for crash triggered in `swift::TypeBase::getCanonicalType(...)`. Current number of unresolved compiler crashers: 68 (5600 resolved) Stack trace: ``` 0 0x0000000003ebc124 PrintStackTraceSignalHandler(void*) (/path/to/swift/bin/swift+0x3ebc124) 1 0x0000000003ebc466 SignalHandler(int) (/path/to/swift/bin/swift+0x3ebc466) 2 0x00007fe07c778390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390) 3 0x00000000016ee71e swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16ee71e) 4 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 5 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 6 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 7 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 8 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 9 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 10 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 11 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 12 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 13 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 14 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 15 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 16 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 17 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 18 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 19 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 20 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 21 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 22 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 23 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 24 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 25 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 26 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 27 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 28 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 29 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 30 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 31 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 32 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 33 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 34 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 35 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 36 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 37 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 38 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 39 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 40 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 41 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 42 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 43 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 44 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 45 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 46 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 47 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 48 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 49 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 50 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 51 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 52 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 53 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 54 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 55 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 56 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 57 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 58 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 59 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 60 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 61 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 62 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 63 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 64 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 65 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 66 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 67 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 68 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 69 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 70 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 71 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 72 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 73 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 74 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 75 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 76 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 77 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 78 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 79 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 80 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 81 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 82 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 83 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 84 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 85 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 86 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 87 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 88 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 89 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 90 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 91 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 92 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 93 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 94 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 95 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 96 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 97 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 98 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 99 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 100 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 101 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 102 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 103 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 104 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 105 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 106 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 107 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 108 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 109 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 110 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 111 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 112 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 113 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 114 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 115 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 116 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 117 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 118 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 119 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 120 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 121 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 122 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 123 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 124 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 125 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 126 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 127 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 128 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 129 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 130 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 131 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 132 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 133 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 134 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 135 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 136 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 137 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 138 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 139 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 140 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 141 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 142 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 143 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 144 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 145 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 146 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 147 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 148 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 149 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 150 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 151 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 152 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 153 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 154 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 155 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 156 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 157 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 158 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 159 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 160 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 161 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 162 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 163 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 164 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 165 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 166 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 167 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 168 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 169 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 170 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 171 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 172 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 173 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 174 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 175 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 176 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 177 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 178 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 179 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 180 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 181 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 182 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 183 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 184 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 185 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 186 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 187 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 188 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 189 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 190 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 191 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 192 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 193 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 194 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 195 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 196 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 197 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 198 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 199 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 200 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 201 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 202 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 203 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 204 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 205 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 206 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 207 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 208 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 209 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 210 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 211 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 212 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 213 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 214 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 215 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 216 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 217 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 218 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 219 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 220 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 221 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 222 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 223 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 224 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 225 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 226 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 227 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 228 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 229 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 230 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 231 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 232 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 233 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 234 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 235 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 236 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 237 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 238 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 239 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 240 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 241 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 242 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 243 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 244 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 245 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 246 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 247 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 248 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 249 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 250 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 251 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) 252 0x00000000016ef5ea swift::ProtocolCompositionType::get(swift::ASTContext const&, llvm::ArrayRef<swift::Type>, bool) (/path/to/swift/bin/swift+0x16ef5ea) 253 0x00000000016eaff9 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0x16eaff9) 254 0x0000000001659ae5 swift::ProtocolDecl::getInheritedProtocols() const (/path/to/swift/bin/swift+0x1659ae5) 255 0x00000000016eeaa0 swift::ProtocolType::canonicalizeProtocols(llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0x16eeaa0) ``` 17 October 2017, 06:14:50 UTC
c5900a6 Merge pull request #12434 from eeckstein/fix_atp Demangler: fix demangling and remangling of associated type paths. 17 October 2017, 05:07:10 UTC
e0a97ed Merge pull request #12421 from xedin/metadata-reader-fn-flags [RemoteAST/Reflection] Changes to MetadataReader and its users to track function parameter flags 17 October 2017, 03:57:19 UTC
5992e08 Merge pull request #12473 from slavapestov/import-as-a-crashing-member SILGen: Fix bug with NSString import-as-member globals 17 October 2017, 03:23:11 UTC
414fac5 Merge pull request #12479 from smeenai/qual 17 October 2017, 02:55:33 UTC
dfdd3a7 SILGen: Fix bug with NSString import-as-member globals This is not really the right fix if we want to have physically addressed lvalues support bridging in general, but doing so requires adding a new LValue component type and doing a bunch more refactoring, so just hack in a narrow fix for now since it only seems to occur in one case. Fixes <rdar://problem/34913892>. 17 October 2017, 02:22:30 UTC
0de982a Merge pull request #12475 from smeenai/noreturn 17 October 2017, 01:30:45 UTC
090d043 Merge pull request #12474 from compnerd/windows-include-order 17 October 2017, 01:19:58 UTC
ea18a16 Merge pull request #12476 from xedin/add-fn-type-comp-test 17 October 2017, 01:18:54 UTC
e21b912 Demangler: fix demangling and remangling of associated type paths. fixes SR-6138 17 October 2017, 00:30:34 UTC
f343659 Mangler: add a dump() function for debugging 17 October 2017, 00:30:34 UTC
c9d70dc [RemoteAST] NFC: Add couple more test-cases for function metadata type 17 October 2017, 00:23:46 UTC
a7548e6 [AST] Drop unnecessary friend declaration Summary: The friend declaration wasn't qualified (it should have included the namespace, i.e. `syntax::LegacyASTTransformer`). The effect was instead to declare a `LegacyASTTransformer` inside the `swift` namespace, which would then trip up Windows compilation because of non-conforming two-phase lookup. The implication is that the friend declaration is actually unneeded, since the incorrect declaration wasn't causing any other problems, so we can just drop it. 17 October 2017, 00:16:36 UTC
787fe55 Merge pull request #12471 from DougGregor/sr-6105 17 October 2017, 00:05:23 UTC
801ef51 [GSB] Resolve type into an equivalence class without building a new PA. Teach GenericSignatureBuilder::resolveEquivalenceClass() to perform resolution of a type into a dependent type and its equivalence class without realizing that potential archetype. Improves type-checking time for the standard library by ~6%. 16 October 2017, 23:49:24 UTC
51d9542 [Reflection] Add label and flags to function type reference parameters 16 October 2017, 23:46:45 UTC
bf8d6f5 [Reflection] NFC: Rename FunctionTypeRef::{getArguments() -> getParameters()} 16 October 2017, 23:46:45 UTC
3f58dab [RemoteAST] Extend MetadataReader to collect flags related to function parameters 16 October 2017, 23:46:45 UTC
ec87d56 [IRGen/Metadata] NFC: Add one more test-case of function type comparisons 16 October 2017, 23:45:06 UTC
ea95ab4 [Serialization] Move LLVM_NORETURN to declaration start On Windows, `LLVM_NORETURN` expands to `__declspec(noreturn)`, which must be placed at the start of the declaration. All other possible expansions of that macro should also support being placed at the start of the declaration. 16 October 2017, 23:34:46 UTC
a6323fd build: swap include order Visual Studio places shared above um. Follow their ordering. 16 October 2017, 23:32:51 UTC
a6444b2 Merge pull request #12468 from davezarzycki/nfc_simplify_ClosureExpr_coercion [Sema] NFC: Simplify type coercion of ClosureExprs 16 October 2017, 23:14:19 UTC
9a563ce [GSB] Extend ResolveResult to describe resolved types that were not realized. We want to be able to resolve a type to a particular known equivalence class without realizing the corresponding potential archetype. Represent this in ResolveResult, even though we're not using this state yet. 16 October 2017, 22:48:02 UTC
8194587 [GSB] Move several accessor functions off of PotentialArchetype. These properties should be queried on the equivalence class itself. 16 October 2017, 22:48:02 UTC
back to top