[all-commits] [llvm/llvm-project] 130ea3: Use swift mangling for resume functions

Arnold Schwaighofer via All-commits all-commits at lists.llvm.org
Tue Jul 6 08:28:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 130ea3ceb47d36d247da83c897011d1b374e54fe
      https://github.com/llvm/llvm-project/commit/130ea3ceb47d36d247da83c897011d1b374e54fe
  Author: Arnold Schwaighofer <aschwaighofer at apple.com>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/test/Transforms/Coroutines/coro-async.ll

  Log Message:
  -----------
  Use swift mangling for resume functions

The resume partial functions generated for swift suspend points will now
use a Swift mangling suffix.

Await resume partial functions will use the suffix 'TQ'[0-9]+'_' (e.g "...TQ0_")
and suspend resume partial functions will use the suffix 'TY'[0-9]+'_'
(e.g "...TY1_").

Reviewed By: nate_chandler

Differential Revision: https://reviews.llvm.org/D104144




More information about the All-commits mailing list