Commit Graph

4 Commits

Author SHA1 Message Date
Meghana Gupta
27e826559a Fix analysis invalidation in ClosureLifetimeFixup (#31295)
Accumulate modifiedCFG when calling correctStackNesting.
Found this bug with -sil-verify-force-analysis=true flag
2020-04-24 16:47:11 -07:00
Arnold Schwaighofer
6eca97add6 Codesign test/Interpreter 2018-08-10 06:58:40 -07:00
David Zarzycki
bbfb295189 [Testing] Not all HFS/APFS file systems are case insensitive 2018-06-15 12:04:43 -04:00
Arnold Schwaighofer
b9728151df SILGen: Fix no escape verification if the closure throws an exception
It is safe to omit the retain/release dance in the reabstraction thunk
because we know we have an aditional reference outstanding for the
is_escaping verification.

The problem with throwing an objc exception inside a noescape closure is
that we verify the reference count of the closure sentinel. The
reabstraction thunk would increase the reference count call the
implementation function that then throws skipping the decrement.

rdar://40857699
2018-06-08 13:04:52 -07:00