Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions llvm/lib/Transforms/Coroutines/CoroSplit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1484,12 +1484,9 @@ struct SwitchCoroutineSplitter {
// If there is no DISubprogram for F, it implies the function is compiled
// without debug info. So we also don't generate debug info for the
// suspension points.
bool AddDebugLabels =
(DIS && DIS->getUnit() &&
(DIS->getUnit()->getEmissionKind() ==
DICompileUnit::DebugEmissionKind::FullDebug ||
DIS->getUnit()->getEmissionKind() ==
DICompileUnit::DebugEmissionKind::LineTablesOnly));
bool AddDebugLabels = DIS && DIS->getUnit() &&
(DIS->getUnit()->getEmissionKind() ==
DICompileUnit::DebugEmissionKind::FullDebug);

// resume.entry:
// %index.addr = getelementptr inbounds %f.Frame, %f.Frame* %FramePtr, i32
Expand Down
Loading