[PATCH] D75338: [Coroutines] Use dbg.declare for frame variables

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 09:28:43 PST 2020


aprantl added inline comments.


================
Comment at: llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll:28
+; CHECK:         [[IGEP:%.+]] = getelementptr inbounds %f.Frame, %f.Frame* %FramePtr, i32 0, i32 4
+; CHECK:         call void @llvm.dbg.declare(metadata i32* [[IGEP]], metadata ![[IVAR:[0-9]+]]
+; CHECK:       await.ready:
----------------
we should also check that the !dbg location attachment is correct.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75338/new/

https://reviews.llvm.org/D75338





More information about the llvm-commits mailing list