Commit Graph

11 Commits

Author SHA1 Message Date
Michael Gottesman
75ea31dba9 Turn on +0 self by default.
The only caveat is that:

1. We do not properly recognize when we have a let binding and we
perform a guaranteed dynamic call. In such a case, we add an extra
retain, release pair around the call. In order to get that case I will
need to refactor some code in Callee. I want to make this change, but
not at the expense of getting the rest of this work in.

2. Some of the protocol witness thunks generated have unnecessary
retains or releases in a similar manner.

But this is a good first step.

I am going to send a large follow up email with all of the relevant results, so
I can let the bots chew on this a little bit.

rdar://19933044

Swift SVN r27241
2015-04-12 22:23:37 +00:00
Dmitri Hrybenko
eee130d9d4 tests: set %target-sdk-name on Linux
Swift SVN r25853
2015-03-08 06:33:40 +00:00
Graham Batty
7346a9733d Update test and validation-test flags for linux.
Swift SVN r25506
2015-02-24 18:55:42 +00:00
Dmitri Hrybenko
f6faf8ad81 sil-opt: implement partial AST verification
... and use it to parallelize the parse_stdlib.sil test, which was
taking too long.

Swift SVN r25295
2015-02-14 11:48:11 +00:00
Dmitri Hrybenko
e0abaec0a7 tests: remove -verify from a stdlib parsing test, it is a no-op here
sil-opt -verify does diagnostic verification, like swift -verify.

Swift SVN r25260
2015-02-13 01:14:10 +00:00
Dmitri Hrybenko
a477e5a857 Simplify substitutions used in the parse_stdlib.sil test
Swift SVN r25087
2015-02-09 00:25:27 +00:00
Dmitri Hrybenko
3b04d1b013 tests: reorganize tests so that they actually use the target platform
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK.  The driver was defaulting to the
host OS.  Thus, we could not run the tests when the standard library was
not built for OS X.

Swift SVN r24504
2015-01-19 06:52:49 +00:00
Jordan Rose
cb702a9035 [test] parse_stdlib.sil should parse the current target's standard library.
I'm not sure how this ever worked -- it was previously always parsing the
OS X standard library but with the current target's triple.

Should fix the buildbot.

Swift SVN r24472
2015-01-16 04:24:23 +00:00
Manman Ren
699cee5f00 [Printer] print AST types used by SILDeclRef in SIL mode.
This enables us parsing stdlib in non-optimized mode.


Swift SVN r22445
2014-10-01 22:06:41 +00:00
Manman Ren
b47f4d1c3d xfail parser test while I look at the failure on swift-stdlib-release-asserts-noopt.
Swift SVN r22431
2014-10-01 18:17:10 +00:00
Manman Ren
26130d911b [SILParser] add a validation test to verify parsing of stdlib deserialized from module.
rdar://17979145


Swift SVN r22396
2014-09-30 18:30:31 +00:00