@@ -282,6 +282,7 @@ class DbgVariableRecord : public DbgRecord, protected DebugValueUser {
282282 Declare,
283283 Value,
284284 Assign,
285+ CoroFrameEntry,
285286
286287 End, // /< Marks the end of the concrete types.
287288 Any, // /< To indicate all LocationTypes in searches.
@@ -364,6 +365,14 @@ class DbgVariableRecord : public DbgRecord, protected DebugValueUser {
364365 createDVRDeclare (Value *Address, DILocalVariable *DV, DIExpression *Expr,
365366 const DILocation *DI, DbgVariableRecord &InsertBefore);
366367
368+ LLVM_ABI static DbgVariableRecord *
369+ createDVRCoroFrameEntry (Value *Address, DILocalVariable *DV,
370+ DIExpression *Expr, const DILocation *DI);
371+ LLVM_ABI static DbgVariableRecord *
372+ createDVRCoroFrameEntry (Value *Address, DILocalVariable *DV,
373+ DIExpression *Expr, const DILocation *DI,
374+ DbgVariableRecord &InsertBefore);
375+
367376 // / Iterator for ValueAsMetadata that internally uses direct pointer iteration
368377 // / over either a ValueAsMetadata* or a ValueAsMetadata**, dereferencing to the
369378 // / ValueAsMetadata .
@@ -414,6 +423,9 @@ class DbgVariableRecord : public DbgRecord, protected DebugValueUser {
414423
415424 bool isDbgDeclare () const { return Type == LocationType::Declare; }
416425 bool isDbgValue () const { return Type == LocationType::Value; }
426+ bool isDbgCoroFrameEntry () const {
427+ return Type == LocationType::CoroFrameEntry;
428+ }
417429
418430 // / Get the locations corresponding to the variable referenced by the debug
419431 // / info intrinsic. Depending on the intrinsic, this could be the
0 commit comments