[PATCH] D45028: [DebugInfo] Prepare DIBuilder for labels.
Hsiangkai Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 29 07:03:11 PDT 2018
HsiangKai created this revision.
HsiangKai added reviewers: rnk, chenwj.
Herald added a subscriber: JDevlieghere.
Implement createLabel() to allocate DILabel objects.
Implement insertLabel() to insert llvm.dbg.label intrinsic function in LLVM IR.
Clang could use DIBuilder::createLabel() to allocate DILabel, then pass the object
to DIBuilder::insertLabel() to insert llvm.dbg.label intrinsic function in LLVM IR.
Repository:
rL LLVM
https://reviews.llvm.org/D45028
Files:
include/llvm/IR/DIBuilder.h
lib/IR/DIBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45028.140226.patch
Type: text/x-patch
Size: 5362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180329/4db6e966/attachment.bin>
More information about the llvm-commits
mailing list