diff options
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
-rw-r--r-- | llvm/lib/IR/DIBuilder.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index a542695..1344df9 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -946,9 +946,13 @@ DILocalVariable *DIBuilder::createParameterVariable( } DILabel *DIBuilder::createLabel(DIScope *Context, StringRef Name, DIFile *File, - unsigned LineNo, bool AlwaysPreserve) { + unsigned LineNo, unsigned Column, + bool IsArtificial, + std::optional<unsigned> CoroSuspendIdx, + bool AlwaysPreserve) { auto *Scope = cast<DILocalScope>(Context); - auto *Node = DILabel::get(VMContext, Scope, Name, File, LineNo); + auto *Node = DILabel::get(VMContext, Scope, Name, File, LineNo, Column, + IsArtificial, CoroSuspendIdx); if (AlwaysPreserve) { /// The optimizer may remove labels. If there is an interest |