[llvm] [LLVM-C] Add bindings to `Instruction::getDbgRecordRange()` (PR #107802)
    Orlando Cazalet-Hyams via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Sep 17 01:52:51 PDT 2024
    
    
  
================
@@ -154,6 +154,10 @@ LLVMSetIsNewDbgInfoFormat  # Convert to the requested debug info format.
 
 New functions (no plans to deprecate)
 -------------------------------------
+LLVMGetFirstDbgRecord                    # Obtain the first debug record attached to an instruction.
+LLVMGetLastDbgRecord                     # Obtain the last debug record attached to an instruction.
+LLVMGetNextDbgRecord                     # Advance a debug record iterator.
+LLVMGetPreviousDbgRecord                 # Go backwards in a debug record iterator.
----------------
OCHyams wrote:
```suggestion
LLVMGetPreviousDbgRecord                 # Get previous debug record or NULL.
```
https://github.com/llvm/llvm-project/pull/107802
    
    
More information about the llvm-commits
mailing list