[PATCH] D95561: [Clang] Introduce Swift async calling convention.
Varun Gandhi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 12 08:57:34 PST 2021
varungandhi-apple added inline comments.
================
Comment at: clang/test/CodeGen/debug-info-cc.c:60-66
+// [FIXME: swiftasynccc] Update debuginfo tag to SwiftAsync once LLVM support lands.
+// LINUX: !DISubprogram({{.*}}"add_swiftasynccall", {{.*}}type: ![[FTY:[0-9]+]]
+// LINUX: ![[FTY]] = !DISubroutineType({{.*}}cc: DW_CC_LLVM_Swift,
+__attribute__((swiftasynccall)) int add_swiftasynccall(int a, int b) {
+ return a+b;
+}
+
----------------
This needs to be changed in some way, it triggers a test failure in its current state. https://github.com/apple/llvm-project/pull/2444
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95561/new/
https://reviews.llvm.org/D95561
More information about the cfe-commits
mailing list