[llvm] [LLVM-C] Add bindings to `Instruction::getDbgRecordRange()` (PR #107802)

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 04:08:20 PDT 2024


================
@@ -3682,6 +3682,33 @@ LLVMValueRef LLVMInstructionClone(LLVMValueRef Inst);
  */
 LLVMValueRef LLVMIsATerminatorInst(LLVMValueRef Inst);
 
+/**
+ * Obtain the first debug record in a instruction.
+ *
+ * The returned debug record can be used ad an iterator. You will likely
----------------
weliveindetail wrote:

"used **as** an iterator"?

https://github.com/llvm/llvm-project/pull/107802


More information about the llvm-commits mailing list