Merge pull request #77609 from ktoso/wip-task-names

[Concurrency] Task names
This commit is contained in:
Konrad `ktoso` Malawski
2025-02-21 22:28:33 +09:00
committed by GitHub
parent 6805e155d5
commit 4ab5d2604f
44 changed files with 1521 additions and 1068 deletions

View File

@@ -724,6 +724,11 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
SwiftTaskOptionRecordTy, // Base option record
SwiftExecutorTy, // Executor
});
SwiftInitialTaskNameTaskOptionRecordTy =
createStructType(*this, "swift.task_name_task_option", {
SwiftTaskOptionRecordTy, // Base option record
Int8PtrTy, // Task name string (char*)
});
SwiftJobTy = createStructType(*this, "swift.job", {
RefCountedStructTy, // object header
Int8PtrTy, Int8PtrTy, // SchedulerPrivate