[llvm] [RemoveDIs] Update DIBuilder C API with DbgRecord functions [1/2] (PR #84915)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 07:37:55 PDT 2024


================
@@ -972,7 +972,7 @@ value llvm_dibuild_create_parameter_variable_bytecode(value *argv, int arg) {
 value llvm_dibuild_insert_declare_before_native(value Builder, value Storage,
                                                 value VarInfo, value Expr,
                                                 value DebugLoc, value Instr) {
-  LLVMValueRef Value = LLVMDIBuilderInsertDeclareBefore(
+  LLVMValueRef Value = LLVMDIBuilderInsertDeclareRecordBefore(
----------------
OCHyams wrote:

Yep, mistakenly update here. Done.

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


More information about the llvm-commits mailing list