Files
swift-mirror/include/swift/AST
Arnold Schwaighofer eaf90dff38 IRGen: Add metadata for async funclets denoting frame entry and frame exists
Adds sections `__TEXT,__swift_as_entry`, and `__TEXT,__swift_as_ret` that
contain relative pointers to async functlets modelling async function entries,
and function returns, respectively.

Emission of the sections can be trigger with the frontend option
`-Xfrontend -enable-async-frame-push-pop-metadata`.

This is done by:

* IRGen adding a `async_entry` function attribute to async functions.
* LLVM's coroutine splitting identifying continuation funclets that
  model the return from an async function call by adding the function
  attribute `async_ret`.  (see #llvm-project/pull/9204)
* An LLVM pass that keys off these two function attribute and emits the
  metadata into the above mention sections.

rdar://134460666
2024-09-03 08:44:16 -07:00
..
2024-02-02 09:36:49 -08:00
2024-04-10 09:38:02 -07:00
2024-04-10 09:38:02 -07:00
2024-03-13 22:25:47 -07:00
2024-08-26 16:24:57 -07:00
2023-09-01 14:32:14 +01:00
2023-09-11 23:56:38 -07:00