Gary Liu
9fab7cb15f
Fix s390x Enum load/storeMultiPayloadValue ( #4461 )
2016-08-24 15:33:29 -07:00
swift-ci
8d850e5146
Merge pull request #4481 from DougGregor/revert-bridging-entrypoints
2016-08-24 15:00:44 -07:00
Robert Widmann
e2de394170
Merge pull request #629 from glessard/NSStringAPI-testfix
...
[test] fix for hasPrefix and hasSuffix test
2016-08-24 14:05:11 -07:00
Doug Gregor
57f1090a11
Revert "[Set/Dictionary] Eliminate "bridging" collection entrypoints."
...
This reverts commit dc0ae675bc . The
change here (presumably the change to Foundation) caused a regression
in several of the bridging-related benchmarks, e.g.,
ObjectiveCBridgeFromNSSetAnyObjectToString, DictionaryBridge,
ObjectiveCBridgeFromNSDictionaryAnyObjectToString.
2016-08-24 13:20:03 -07:00
eeckstein
d2d66f7921
Merge pull request #4480 from eeckstein/partial-apply-opt2
...
address gottesmm's and jrose-apple's comments on the partial_apply optimization
swift-DEVELOPMENT-SNAPSHOT-2016-08-24-a
2016-08-24 12:37:20 -07:00
Erik Eckstein
01c6d4bccd
Add a test case for recent change in FunctionSignatureOpts
2016-08-24 11:30:12 -07:00
Erik Eckstein
5bfb9b2cfd
Improve comment and function name. NFC.
2016-08-24 11:29:48 -07:00
Guillaume Lessard
5a41eaa383
Separate the list of xfails from the test list, add test for regional indicator symbol.
...
Expected failures when testing comparisons and substrings are not the same; separating them allows better coverage.
2016-08-24 11:08:53 -06:00
Guillaume Lessard
68cc65d8bf
Correction for the hasPrefix and hasSuffix test
...
The expected value should be recalculated for every combination of inputs. It was previously cached and used twice; it appeared to work because of SR-243.
2016-08-24 11:05:01 -06:00
Doug Gregor
9c943f0c49
Merge pull request #4371 from jtbandes/diag
...
[QoI] Diagnose initializers written as typed patterns (SR-1461)
2016-08-24 09:31:34 -07:00
Robert Widmann
cc1ee962a9
Merge pull request #4476 from practicalswift/swiftc-28402-swift-typebase-getcanonicaltype
...
[swiftc (55 vs. 5156)] Add crasher in swift::TypeBase::getCanonicalType(...)
2016-08-24 09:13:54 -07:00
swiftix
bc837bc61c
Merge pull request #4473 from swiftix/master
...
[sil-mandatory-inliner] Decrease the compile time
2016-08-24 06:57:53 -07:00
John McCall
7913ce953a
Merge pull request #4448 from rjmccall/fix-dyncasts-volume-xxiv
...
Fix several bugs in dynamic casts
2016-08-24 04:10:50 -07:00
practicalswift
7a02db4ed6
[swiftc (55 vs. 5156)] Add crasher in swift::TypeBase::getCanonicalType(...)
...
Add test case for crash triggered in `swift::TypeBase::getCanonicalType(...)`.
Current number of unresolved compiler crashers: 55 (5156 resolved)
Assertion failure in [`include/swift/AST/Type.h (line 241)`](https://github.com/apple/swift/blob/master/include/swift/AST/Type.h#L241 ):
```
Assertion `isActuallyCanonicalOrNull() && "Forming a CanType out of a non-canonical type!"' failed.
When executing: swift::CanType::CanType(swift::TypeBase *)
```
Assertion context:
```
static CanType getLValueOrInOutObjectTypeImpl(CanType type);
static ClassDecl *getClassBoundImpl(CanType type);
public:
explicit CanType(TypeBase *P = 0) : Type(P) {
assert(isActuallyCanonicalOrNull() &&
"Forming a CanType out of a non-canonical type!");
}
explicit CanType(Type T) : Type(T) {
assert(isActuallyCanonicalOrNull() &&
"Forming a CanType out of a non-canonical type!");
```
Stack trace:
```
swift: /path/to/swift/include/swift/AST/Type.h:241: swift::CanType::CanType(swift::TypeBase *): Assertion `isActuallyCanonicalOrNull() && "Forming a CanType out of a non-canonical type!"' failed.
8 swift 0x00000000011536e2 swift::TypeBase::getCanonicalType() + 2370
14 swift 0x000000000109a2de swift::Stmt::walk(swift::ASTWalker&) + 78
15 swift 0x0000000000f03b35 swift::TypeChecker::computeCaptures(swift::AnyFunctionRef) + 549
19 swift 0x000000000109a2de swift::Stmt::walk(swift::ASTWalker&) + 78
20 swift 0x0000000000f03b35 swift::TypeChecker::computeCaptures(swift::AnyFunctionRef) + 549
22 swift 0x0000000000efb4a1 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) + 1281
23 swift 0x0000000000c7b5b9 swift::CompilerInstance::performSema() + 3289
25 swift 0x00000000007db487 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2887
26 swift 0x00000000007a72b8 main + 2872
Stack dump:
0. Program arguments: /path/to/swift/bin/swift -frontend -c -primary-file validation-test/compiler_crashers/28402-swift-typebase-getcanonicaltype.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -module-name main -o /tmp/28402-swift-typebase-getcanonicaltype-e8cf35.o
<unknown>:0: error: unable to execute command: Aborted
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
```
2016-08-24 11:32:11 +02:00
Robert Widmann
e540faaf0c
Merge pull request #2917 from frootloops/set-algebra
...
Add simple tests for SetAlgebra protocol
2016-08-24 01:25:31 -07:00
Arsen Gasparyan
20aa8cbfc7
Add tests for SetAlgebra protocol
2016-08-24 10:46:18 +03:00
Robert Widmann
76022b12c2
Merge pull request #4474 from practicalswift/swiftc-28401-swift-boundgenerictype-get
...
[swiftc (54 vs. 5156)] Add crasher in ?
2016-08-24 00:45:57 -07:00
practicalswift
424602a2cb
[swiftc (54 vs. 5156)] Add crasher in ?
...
Add test case for crash triggered in `?`.
Current number of unresolved compiler crashers: 54 (5156 resolved)
Stack trace:
```
<unknown>:0: error: unable to execute command: Segmentation fault
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
```
2016-08-24 09:19:33 +02:00
swift-ci
db54d37936
Merge pull request #4472 from rudkx/crashers
2016-08-23 23:37:10 -07:00
swift-ci
05e0cb65fe
Merge pull request #4471 from rudkx/remove-assert
2016-08-23 23:35:05 -07:00
Roman Levenstein
62e5b77cac
[sil-mandatory-inliner] Decrease the compile time
...
The inlining algorithm was rescanning the whole basic block after inlining a call, which resulted in O(N^2) time complexity. In some pathological cases like e.g. huge basic blocks with many thousands of calls this would lead to very long compile times which could takes hours to finish.
This change improves compile times by avoiding the rescanning of basic blocks containing the call which was inlined.
rdar://27818830
2016-08-23 23:15:29 -07:00
Mark Lacey
dc7d433a40
Remove an overzealous assert.
...
When we are able to type check an expression this assert is fine,
although of little value. In the context of failed type checks, though,
it can be actively harmful.
The issue is that we can attempt to solve smaller parts of the
constraint system and assign contextual types (e.g. for the arguments of
a function) despite not being able to drill into members.
Some of the diagnostics we emit in these cases are not terribly useful,
and I've opened rdar://problem/27982012 with one example.
Resolves:
rdar://problem/25812474
rdar://problem/26589865
rdar://problem/27974638
2016-08-23 21:58:29 -07:00
Slava Pestov
5a4d813876
Merge pull request #4470 from slavapestov/reflection-crash-invalid-single-payload-enum
...
Reflection: Fix crash in single-payload enum layout if payload type c…
2016-08-23 21:53:33 -07:00
Slava Pestov
1705caaf72
Merge pull request #4038 from karwa/generic-enums
...
Fix SR-2134: emit 'rawValue' bodies for enums with a generic raw value
2016-08-23 21:52:50 -07:00
Mark Lacey
5d89924307
Add known type checker crashers.
...
Add minimized tests for:
rdar://problem/27879334
2016-08-23 20:34:56 -07:00
Slava Pestov
2e6e2c2b17
Reflection: Fix crash in single-payload enum layout if payload type could not be lowered
...
Fixes <rdar://problem/27906876>.
2016-08-23 18:30:00 -07:00
Ben Langmuir
4392276bac
Merge pull request #4467 from benlangmuir/cc-crash-ace-null
...
[codecomplete] Handle null type in AbstractClosureExpr context
2016-08-23 15:39:53 -07:00
Ben Langmuir
32186b2bd1
Merge pull request #4464 from benlangmuir/archetype-builder-crash-bandaid
...
[codecomplete] Attempt to workaround ArchetypeBuilder crash in non-asserts build
2016-08-23 15:24:06 -07:00
Ben Langmuir
d8fa0b00ba
[codecomplete] Handle null type in AbstractClosureExpr context
...
rdar://problem/27643235
2016-08-23 14:58:44 -07:00
Tony Parker
9af36b880e
Merge pull request #4458 from seabaylea/foundation-dependency
...
Add dependency on libdispatch from Foundation on Linux
2016-08-23 14:40:24 -07:00
Robert Widmann
ea1cb62b46
Merge pull request #4456 from practicalswift/swiftc-28400-swift-nominaltypedecl-prepareextensions
...
[swiftc (53 vs. 5156)] Add crasher in swift::constraints::ConstraintSystem::assignFixedType(...)
2016-08-23 14:24:13 -07:00
Ben Langmuir
28dbdf9660
[codecomplete] Attempt to workaround ArchetypeBuilder crash in non-asserts build
...
Add a defensive return on null if we're building without assertions.
There appears to be a way to trigger this in code-completion, so until
we find a reproducer/figure out what's going wrong, try not to crash.
Only impacts no-asserts builds.
rdar://problem/27615954
2016-08-23 14:05:10 -07:00
swift-ci
f4ffdb597e
Merge pull request #4462 from benlangmuir/cc-ctor-alias-crash
2016-08-23 13:54:12 -07:00
Jordan Rose
4372a30147
Operator methods are not @objc-compatible. ( #4430 )
...
https://bugs.swift.org/browse/SR-2419
2016-08-23 13:36:56 -07:00
Brian Gesiak
ba8009bfa3
[SR-1788] Add -driver-time-compilation option ( #4367 )
...
Add an option to print the time it takes each driver task to complete.
Here's an example of the output:
```
$ swiftc -driver-time-compilation \
-emit-library -module-name Crispix \
Crispix/A.swift Crispix/B.swift Crispix/C.swift
===-------------------------------------------------------------------------===
Driver Time Compilation
===-------------------------------------------------------------------------===
Total Execution Time: 0.0000 seconds (0.0875 wall clock)
---Wall Time--- --- Name ---
0.0245 ( 28.0%) link /path/to/Crispix/A.swift /path/to/Crispix/B.swift /path/to/Crispix/C.swift
0.0211 ( 24.1%) compile /path/to/Crispix/A.swift
0.0209 ( 23.9%) compile /path/to/Crispix/B.swift
0.0176 ( 20.1%) compile /path/to/Crispix/C.swift
0.0035 ( 4.0%) swift-autolink-extract /path/to/Crispix/A.swift /path/to/Crispix/B.swift /path/to/Crispix/C.swift
0.0875 (100.0%) Total
```
2016-08-23 13:35:48 -07:00
Ben Langmuir
2855634999
[codecomplete] Check for ErrorType before asking for CD->getResultType()
...
Fixes a crash where we try to cast ErrorType to a function type to get
the result.
rdar://problem/27763826
2016-08-23 13:14:56 -07:00
Doug Gregor
cc5e64de5e
Merge pull request #4459 from DougGregor/fix-crashes-rdar27940842
...
[Type checker] Improve recovery from erroneous operators in types.
2016-08-23 11:06:56 -07:00
Keith Smiley
55aa9096e1
Update swift-demangle to interactively demangle ( #4412 )
...
This changes the swift-demangle interactive STDIN mode to immediately
print the demangled symbol on return as opposed to printing them all at
the end.
2016-08-23 10:31:48 -07:00
Doug Gregor
d74b97c78f
Merge pull request #4445 from jtbandes/diagnose-optional
...
[QoI] fix diagnosis of non-Optional enum used in optional pattern
2016-08-23 10:08:27 -07:00
Doug Gregor
e939de4da9
[Type checker] If any argument to an application failed to type-check, don’t check the application.
...
Eliminates an assertion that came up while investigating rdar://problem/27940842.
2016-08-23 09:37:21 -07:00
Doug Gregor
62a3de6f6e
[Type checker] Add ‘static’ to member operators to improve recovery.
...
Eliminates a crash due to missing ‘static’ on member operations. Fixes part of rdar://problem/27940842.
2016-08-23 09:36:03 -07:00
eeckstein
aa485e82da
Merge pull request #4457 from eeckstein/partial-apply-opt
...
Add an optimization to eliminate a partial_apply if all applied arguments are dead in the applied function.
2016-08-23 09:30:20 -07:00
seabaylea
12b88930d5
Add dependency on libdispatch from Foundation on Linux
2016-08-23 16:51:29 +01:00
Erik Eckstein
959e19d7bc
Add an optimization to eliminate a partial_apply if all applied arguments are dead in the applied function.
...
This consists of 3 parts:
1) Extend CallerAnalysis to also provide information if a function is partially applied
2) A new DeadArgSignatureOpt pass, similar to FunctionSignatureOpts, which just specializes for dead arguments of partially applied functions.
3) Let CapturePropagation eliminate such partial_apply instructions and replace them with a thin_to_thick conversion of the specialized functions.
This optimzation improves benchmarks where static struct or class functions are passed as a closure (e.g. -20% for SortStrings).
Such functions have a additional metatype parameter. We used to create a partial_apply in this case, which allocates a context, etc.
But this is not necessary as the metatype parameter is not used in most cases.
rdar://problem/27513085
2016-08-23 07:32:41 -07:00
Erik Eckstein
f86f0253d1
FunctionSignatureOpts: also specialize externally available functions.
...
Otherwise we are missing some important opportunities.
No code size degradation observed.
2016-08-23 07:32:41 -07:00
John McCall
219d093ef4
Fix the cast optimizer to handle CF/NS bridging correctly,
...
and fix the dynamic cast runtime to handle class + enum casts
to AnyHashable correctly.
2016-08-23 07:22:28 -07:00
practicalswift
10c4204ef0
[swiftc (53 vs. 5156)] Add crasher in swift::constraints::ConstraintSystem::assignFixedType(...)
...
Add test case for crash triggered in `swift::constraints::ConstraintSystem::assignFixedType(...)`.
Current number of unresolved compiler crashers: 53 (5156 resolved)
Assertion failure in [`lib/Sema/ConstraintGraph.cpp (line 207)`](https://github.com/apple/swift/blob/master/lib/Sema/ConstraintGraph.cpp#L207 ):
```
Assertion `!adjacency.FixedBinding && "Already marked as a fixed binding?"' failed.
When executing: void swift::constraints::ConstraintGraphNode::addFixedBinding(swift::TypeVariableType *)
```
Assertion context:
```
}
void ConstraintGraphNode::addFixedBinding(TypeVariableType *typeVar) {
auto &adjacency = getAdjacency(typeVar);
assert(!adjacency.FixedBinding && "Already marked as a fixed binding?");
adjacency.FixedBinding = true;
}
void ConstraintGraphNode::removeFixedBinding(TypeVariableType *typeVar) {
modifyAdjacency(typeVar, [](Adjacency &adj) {
```
Stack trace:
```
swift: /path/to/swift/lib/Sema/ConstraintGraph.cpp:207: void swift::constraints::ConstraintGraphNode::addFixedBinding(swift::TypeVariableType *): Assertion `!adjacency.FixedBinding && "Already marked as a fixed binding?"' failed.
9 swift 0x0000000000f61c3e swift::constraints::ConstraintSystem::assignFixedType(swift::TypeVariableType*, swift::Type, bool) + 366
10 swift 0x0000000000fc8f9e swift::constraints::ConstraintSystem::matchTypes(swift::Type, swift::Type, swift::constraints::TypeMatchKind, unsigned int, swift::constraints::ConstraintLocatorBuilder) + 3262
11 swift 0x0000000000fcd27d swift::constraints::ConstraintSystem::matchDeepEqualityTypes(swift::Type, swift::Type, swift::constraints::ConstraintLocatorBuilder) + 877
12 swift 0x0000000000fcdc15 swift::constraints::ConstraintSystem::simplifyRestrictedConstraint(swift::constraints::ConversionRestrictionKind, swift::Type, swift::Type, swift::constraints::TypeMatchKind, unsigned int, swift::constraints::ConstraintLocatorBuilder) + 1077
13 swift 0x0000000000fd5097 swift::constraints::ConstraintSystem::simplifyConstraint(swift::constraints::Constraint const&) + 439
14 swift 0x0000000000fddc0d swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11277
15 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
16 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
17 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
18 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
19 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
20 swift 0x0000000000fdf3c1 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 17345
21 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
22 swift 0x0000000000fdf3c1 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 17345
23 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
24 swift 0x0000000000fdf3c1 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 17345
25 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
26 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
27 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
28 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
29 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
30 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
31 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
32 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
33 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
34 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
35 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
36 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
37 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
38 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
39 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
40 swift 0x0000000000fddce4 swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 11492
41 swift 0x0000000000fd99c3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
42 swift 0x0000000000fd9779 swift::constraints::ConstraintSystem::solve(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 73
43 swift 0x0000000000ebd438 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>) + 808
44 swift 0x0000000000ec443d swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem*) + 621
45 swift 0x0000000000ec55f0 swift::TypeChecker::typeCheckBinding(swift::Pattern*&, swift::Expr*&, swift::DeclContext*) + 352
46 swift 0x0000000000ec580b swift::TypeChecker::typeCheckPatternBinding(swift::PatternBindingDecl*, unsigned int) + 267
49 swift 0x0000000000ed7466 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 150
51 swift 0x0000000000f40ae6 swift::TypeChecker::typeCheckTopLevelCodeDecl(swift::TopLevelCodeDecl*) + 134
52 swift 0x0000000000efb40d swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) + 1133
53 swift 0x0000000000c7b5b9 swift::CompilerInstance::performSema() + 3289
55 swift 0x00000000007db487 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2887
56 swift 0x00000000007a72b8 main + 2872
Stack dump:
0. Program arguments: /path/to/swift/bin/swift -frontend -c -primary-file validation-test/compiler_crashers/28400-swift-nominaltypedecl-prepareextensions.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -module-name main -o /tmp/28400-swift-nominaltypedecl-prepareextensions-72c649.o
1. While type-checking declaration 0x6578c80 at validation-test/compiler_crashers/28400-swift-nominaltypedecl-prepareextensions.swift:15:1
2. While type-checking expression at [validation-test/compiler_crashers/28400-swift-nominaltypedecl-prepareextensions.swift:15:9 - line:15:28] RangeText="s1 ?? s2 ?? s3 ?? []"
<unknown>:0: error: unable to execute command: Aborted
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)
```
2016-08-23 09:29:13 +02:00
Robert Widmann
fa36206531
Merge pull request #4449 from practicalswift/swiftc-28399-getpointerelementtype-is-not-storagetype
...
[swiftc (52 vs. 5156)] Add crasher in swift::irgen::emitPolymorphicParameters(...)
swift-DEVELOPMENT-SNAPSHOT-2016-08-23-a
2016-08-22 22:40:59 -07:00
Xin Tong
41810263ab
Merge pull request #4453 from trentxintong/LLVMSwiftARC
...
Fix a globalvariable initializer bug in LLVMSwiftARC
2016-08-22 16:53:42 -07:00
Doug Gregor
e12e730f24
Merge pull request #4454 from DougGregor/remove-bridging-entrypoints
...
[Set/Dictionary] Eliminate "bridging" collection entrypoints.
2016-08-22 16:32:14 -07:00