Pavel Yaskevich
6519d99736
[Mangling/ABI] NFC: Fix SILGen tests to reflect label mangling changes
2017-12-18 15:44:24 -08:00
Arnold Schwaighofer
0971d82f70
SILGen: Remaining fixes for @callee_guaranteed closures and enable it
...
- Fix block to func reabstraction thunks block argument handling
- Forward cast ownership
- Fix applyPartiallyAppliedSuperMethod ownership for @callee_guaranteed closures
- Avoid a copy in buildBlockToFuncThunkBody
- Update tests for callee_guaranteed closures
SR-5441
rdar://33255593
2017-11-15 19:46:08 -08:00
Slava Pestov
2146383697
SILGen: Resilient method dispatch thunks
2017-11-11 16:31:53 -08:00
Alex Hoppen
1c7e289b96
[Mangling] Adjust subscript mangling to not include "subscript"
...
Change the mangling of accessors to have a variable or subscript node
as their only child node, while subscript nodes no longer contain a decl
name.
2017-09-10 19:44:07 +02:00
Slava Pestov
f6e957ec08
SILGen: Don't emit SILVTable entries for methods inherited from a resilient base class
...
This prevents us from devirtualizing method calls across resilience
boundaries, allowing the test_class_add_override evolution test to pass
with the 'check-swift-validation-optimize' target.
2017-08-24 19:40:04 -07:00
Michael Gottesman
20c3e1e92f
[semantic-sil] Update 45 SILGen tests for ownership.
...
Very roughly this increases the total coverage of SILGen tests with ownership
enabled to ~20%.
rdar://33358110
2017-08-20 19:11:55 -07:00
Robert Widmann
71bf312a25
Migrate the rest of the tests to %empty-directory
2017-06-04 11:08:39 -07:00
Erik Eckstein
c4a11f4c92
tests: remove the now unused option -new-mangling-for-tests
2017-03-22 11:28:43 -07:00
Michael Gottesman
dc8b994fc2
[silgen] ref_element_addr should always take a borrowed operand.
...
rdar://29791263
2017-02-06 11:45:49 -08:00
Erik Eckstein
1d3724666f
tests: convert about 400 tests to the new mangling by using the -new-mangling-for-tests option
...
When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
2017-01-24 15:27:45 -08:00
Slava Pestov
022c28344b
Update resilience tests to not use -enable-source-import
...
This flag is hopefully going away one day, and using it for testing
resilience is especially suspect. Just invoke the frontend directly
to build the necessary modules with -emit-module first.
2017-01-20 01:22:51 -08:00
Dmitri Gribenko
d175b3b66d
Migrate FileCheck to %FileCheck in tests
2016-08-10 23:52:02 -07:00
Manav Gabhawala
7928140f79
[SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary
2016-04-06 20:21:58 -04:00
Slava Pestov
d88ac25ede
SILGen: resilient class tests
...
- final fields of resilient classes are accessed through accessor
- accessors are not transparent
Seems this already works.
2015-12-19 00:47:47 -08:00