@@ -1249,6 +1249,10 @@ LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl(
1249
1249
LLVMMetadataRef Decl , uint32_t AlignInBits );
1250
1250
1251
1251
/**
1252
+ * Soon to be deprecated.
1253
+ * Only use in "old debug mode" (LLVMIsNewDbgFormat() is false).
1254
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1255
+ *
1252
1256
* Insert a new llvm.dbg.declare intrinsic call before the given instruction.
1253
1257
* \param Builder The DIBuilder.
1254
1258
* \param Storage The storage of the variable to declare.
@@ -1257,11 +1261,31 @@ LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl(
1257
1261
* \param DebugLoc Debug info location.
1258
1262
* \param Instr Instruction acting as a location for the new intrinsic.
1259
1263
*/
1260
- LLVMValueRef LLVMDIBuilderInsertDeclareBefore (
1261
- LLVMDIBuilderRef Builder , LLVMValueRef Storage , LLVMMetadataRef VarInfo ,
1262
- LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1264
+ LLVMValueRef LLVMDIBuilderInsertDeclareIntrinsicBefore (
1265
+ LLVMDIBuilderRef Builder , LLVMValueRef Storage , LLVMMetadataRef VarInfo ,
1266
+ LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1267
+ /**
1268
+ * Only use in "new debug mode" (LLVMIsNewDbgFormat() is true).
1269
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1270
+ *
1271
+ * Insert a Declare DbgRecord before the given instruction.
1272
+ * \param Builder The DIBuilder.
1273
+ * \param Storage The storage of the variable to declare.
1274
+ * \param VarInfo The variable's debug info descriptor.
1275
+ * \param Expr A complex location expression for the variable.
1276
+ * \param DebugLoc Debug info location.
1277
+ * \param Instr Instruction acting as a location for the new record.
1278
+ */
1279
+ LLVMDbgRecordRef
1280
+ LLVMDIBuilderInsertDeclareBefore (LLVMDIBuilderRef Builder , LLVMValueRef Storage ,
1281
+ LLVMMetadataRef VarInfo , LLVMMetadataRef Expr ,
1282
+ LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1263
1283
1264
1284
/**
1285
+ * Soon to be deprecated.
1286
+ * Only use in "old debug mode" (LLVMIsNewDbgFormat() is false).
1287
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1288
+ *
1265
1289
* Insert a new llvm.dbg.declare intrinsic call at the end of the given basic
1266
1290
* block. If the basic block has a terminator instruction, the intrinsic is
1267
1291
* inserted before that terminator instruction.
@@ -1272,11 +1296,32 @@ LLVMValueRef LLVMDIBuilderInsertDeclareBefore(
1272
1296
* \param DebugLoc Debug info location.
1273
1297
* \param Block Basic block acting as a location for the new intrinsic.
1274
1298
*/
1275
- LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd (
1299
+ LLVMValueRef LLVMDIBuilderInsertDeclareIntrinsicAtEnd (
1300
+ LLVMDIBuilderRef Builder , LLVMValueRef Storage , LLVMMetadataRef VarInfo ,
1301
+ LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1302
+ /**
1303
+ * Only use in "new debug mode" (LLVMIsNewDbgFormat() is true).
1304
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1305
+ *
1306
+ * Insert a Declare DbgRecord at the end of the given basic block. If the basic
1307
+ * block has a terminator instruction, the record is inserted before that
1308
+ * terminator instruction.
1309
+ * \param Builder The DIBuilder.
1310
+ * \param Storage The storage of the variable to declare.
1311
+ * \param VarInfo The variable's debug info descriptor.
1312
+ * \param Expr A complex location expression for the variable.
1313
+ * \param DebugLoc Debug info location.
1314
+ * \param Block Basic block acting as a location for the new record.
1315
+ */
1316
+ LLVMDbgRecordRef LLVMDIBuilderInsertDeclareAtEnd (
1276
1317
LLVMDIBuilderRef Builder , LLVMValueRef Storage , LLVMMetadataRef VarInfo ,
1277
1318
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1278
1319
1279
1320
/**
1321
+ * Soon to be deprecated.
1322
+ * Only use in "old debug mode" (Module::IsNewDbgInfoFormat is false).
1323
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1324
+ *
1280
1325
* Insert a new llvm.dbg.value intrinsic call before the given instruction.
1281
1326
* \param Builder The DIBuilder.
1282
1327
* \param Val The value of the variable.
@@ -1285,14 +1330,31 @@ LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(
1285
1330
* \param DebugLoc Debug info location.
1286
1331
* \param Instr Instruction acting as a location for the new intrinsic.
1287
1332
*/
1288
- LLVMValueRef LLVMDIBuilderInsertDbgValueBefore (LLVMDIBuilderRef Builder ,
1289
- LLVMValueRef Val ,
1290
- LLVMMetadataRef VarInfo ,
1291
- LLVMMetadataRef Expr ,
1292
- LLVMMetadataRef DebugLoc ,
1293
- LLVMValueRef Instr );
1333
+ LLVMValueRef LLVMDIBuilderInsertDbgValueIntrinsicBefore (
1334
+ LLVMDIBuilderRef Builder , LLVMValueRef Val , LLVMMetadataRef VarInfo ,
1335
+ LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1336
+ /**
1337
+ * Only use in "new debug mode" (Module::IsNewDbgInfoFormat is true).
1338
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1339
+ *
1340
+ * Insert a new llvm.dbg.value intrinsic call before the given instruction.
1341
+ * \param Builder The DIBuilder.
1342
+ * \param Val The value of the variable.
1343
+ * \param VarInfo The variable's debug info descriptor.
1344
+ * \param Expr A complex location expression for the variable.
1345
+ * \param DebugLoc Debug info location.
1346
+ * \param Instr Instruction acting as a location for the new intrinsic.
1347
+ */
1348
+ LLVMDbgRecordRef
1349
+ LLVMDIBuilderInsertDbgValueBefore (LLVMDIBuilderRef Builder , LLVMValueRef Val ,
1350
+ LLVMMetadataRef VarInfo , LLVMMetadataRef Expr ,
1351
+ LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1294
1352
1295
1353
/**
1354
+ * Soon to be deprecated.
1355
+ * Only use in "old debug mode" (Module::IsNewDbgInfoFormat is false).
1356
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1357
+ *
1296
1358
* Insert a new llvm.dbg.value intrinsic call at the end of the given basic
1297
1359
* block. If the basic block has a terminator instruction, the intrinsic is
1298
1360
* inserted before that terminator instruction.
@@ -1303,12 +1365,26 @@ LLVMValueRef LLVMDIBuilderInsertDbgValueBefore(LLVMDIBuilderRef Builder,
1303
1365
* \param DebugLoc Debug info location.
1304
1366
* \param Block Basic block acting as a location for the new intrinsic.
1305
1367
*/
1306
- LLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd (LLVMDIBuilderRef Builder ,
1307
- LLVMValueRef Val ,
1308
- LLVMMetadataRef VarInfo ,
1309
- LLVMMetadataRef Expr ,
1310
- LLVMMetadataRef DebugLoc ,
1311
- LLVMBasicBlockRef Block );
1368
+ LLVMValueRef LLVMDIBuilderInsertDbgValueIntrinsicAtEnd (
1369
+ LLVMDIBuilderRef Builder , LLVMValueRef Val , LLVMMetadataRef VarInfo ,
1370
+ LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1371
+ /**
1372
+ * Only use in "new debug mode" (Module::IsNewDbgInfoFormat is true).
1373
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html
1374
+ *
1375
+ * Insert a new llvm.dbg.value intrinsic call at the end of the given basic
1376
+ * block. If the basic block has a terminator instruction, the intrinsic is
1377
+ * inserted before that terminator instruction.
1378
+ * \param Builder The DIBuilder.
1379
+ * \param Val The value of the variable.
1380
+ * \param VarInfo The variable's debug info descriptor.
1381
+ * \param Expr A complex location expression for the variable.
1382
+ * \param DebugLoc Debug info location.
1383
+ * \param Block Basic block acting as a location for the new intrinsic.
1384
+ */
1385
+ LLVMDbgRecordRef LLVMDIBuilderInsertDbgValueAtEnd (
1386
+ LLVMDIBuilderRef Builder , LLVMValueRef Val , LLVMMetadataRef VarInfo ,
1387
+ LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1312
1388
1313
1389
/**
1314
1390
* Create a new descriptor for a local auto variable.
0 commit comments