[all-commits] [llvm/llvm-project] 6ce76f: Update the linkage name of coro-split functions in...
adrian-prantl via All-commits
all-commits at lists.llvm.org
Fri Apr 9 09:51:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ce76ff7eb7640e53b65f0473848ce7d08165c98
https://github.com/llvm/llvm-project/commit/6ce76ff7eb7640e53b65f0473848ce7d08165c98
Author: Adrian Prantl <aprantl at apple.com>
Date: 2021-04-09 (Fri, 09 Apr 2021)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/test/Transforms/Coroutines/coro-async.ll
M llvm/test/Transforms/Coroutines/coro-debug.ll
Log Message:
-----------
Update the linkage name of coro-split functions in the debug info.
This patch updates the linkage name in the DISubprogram of coro-split
functions, which is particularly important for Swift, where the
funclets have a special name mangling. This patch does not affect C++
coroutines, since the DW_AT_specification is expected to hold the
(original) linkage name. I believe this is mostly due to limitations
in AsmPrinter, so we might be able to relax this restriction in the
future.
Differential Revision: https://reviews.llvm.org/D99693
More information about the All-commits
mailing list