@@ -1249,21 +1249,26 @@ LLVMMetadataRef LLVMDIBuilderCreateTempGlobalVariableFwdDecl(
1249
1249
LLVMMetadataRef Decl , uint32_t AlignInBits );
1250
1250
1251
1251
/*
1252
- * Insert a new llvm.dbg.declare intrinsic call before the given instruction.
1252
+ * Insert a new Declare DbgRecord before the given instruction.
1253
+ *
1254
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat() is true).
1255
+ * Use LLVMSetIsNewDbgInfoFormat(LLVMBool) to convert between formats.
1256
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1257
+ *
1253
1258
* \param Builder The DIBuilder.
1254
1259
* \param Storage The storage of the variable to declare.
1255
1260
* \param VarInfo The variable's debug info descriptor.
1256
1261
* \param Expr A complex location expression for the variable.
1257
1262
* \param DebugLoc Debug info location.
1258
1263
* \param Instr Instruction acting as a location for the new intrinsic.
1259
1264
*/
1260
- LLVMValueRef
1265
+ LLVMDbgRecordRef
1261
1266
LLVMDIBuilderInsertDeclareBefore (LLVMDIBuilderRef Builder , LLVMValueRef Storage ,
1262
1267
LLVMMetadataRef VarInfo , LLVMMetadataRef Expr ,
1263
1268
LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1264
1269
/**
1265
1270
* Soon to be deprecated.
1266
- * Only use in "old debug mode" (LLVMIsNewDbgFormat () is false).
1271
+ * Only use in "old debug mode" (LLVMIsNewDbgInfoFormat () is false).
1267
1272
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1268
1273
*
1269
1274
* Insert a new llvm.dbg.declare intrinsic call before the given instruction.
@@ -1279,7 +1284,7 @@ LLVMValueRef LLVMDIBuilderInsertDeclareIntrinsicBefore(
1279
1284
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1280
1285
/**
1281
1286
* Soon to be deprecated.
1282
- * Only use in "new debug mode" (LLVMIsNewDbgFormat () is true).
1287
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat () is true).
1283
1288
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1284
1289
*
1285
1290
* Insert a Declare DbgRecord before the given instruction.
@@ -1295,22 +1300,27 @@ LLVMDbgRecordRef LLVMDIBuilderInsertDeclareRecordBefore(
1295
1300
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1296
1301
1297
1302
/**
1298
- * Insert a new llvm.dbg.declare intrinsic call at the end of the given basic
1299
- * block. If the basic block has a terminator instruction, the intrinsic is
1300
- * inserted before that terminator instruction.
1303
+ * Insert a new Declare DbgRecord at the end of the given basic block. If the
1304
+ * basic block has a terminator instruction, the intrinsic is inserted before
1305
+ * that terminator instruction.
1306
+ *
1307
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat() is true).
1308
+ * Use LLVMSetIsNewDbgInfoFormat(LLVMBool) to convert between formats.
1309
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1310
+ *
1301
1311
* \param Builder The DIBuilder.
1302
1312
* \param Storage The storage of the variable to declare.
1303
1313
* \param VarInfo The variable's debug info descriptor.
1304
1314
* \param Expr A complex location expression for the variable.
1305
1315
* \param DebugLoc Debug info location.
1306
1316
* \param Block Basic block acting as a location for the new intrinsic.
1307
1317
*/
1308
- LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd (
1318
+ LLVMDbgRecordRef LLVMDIBuilderInsertDeclareAtEnd (
1309
1319
LLVMDIBuilderRef Builder , LLVMValueRef Storage , LLVMMetadataRef VarInfo ,
1310
1320
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1311
1321
/**
1312
1322
* Soon to be deprecated.
1313
- * Only use in "old debug mode" (LLVMIsNewDbgFormat () is false).
1323
+ * Only use in "old debug mode" (LLVMIsNewDbgInfoFormat () is false).
1314
1324
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1315
1325
*
1316
1326
* Insert a new llvm.dbg.declare intrinsic call at the end of the given basic
@@ -1328,7 +1338,7 @@ LLVMValueRef LLVMDIBuilderInsertDeclareIntrinsicAtEnd(
1328
1338
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1329
1339
/**
1330
1340
* Soon to be deprecated.
1331
- * Only use in "new debug mode" (LLVMIsNewDbgFormat () is true).
1341
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat () is true).
1332
1342
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1333
1343
*
1334
1344
* Insert a Declare DbgRecord at the end of the given basic block. If the basic
@@ -1346,21 +1356,26 @@ LLVMDbgRecordRef LLVMDIBuilderInsertDeclareRecordAtEnd(
1346
1356
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1347
1357
1348
1358
/**
1349
- * Insert a new llvm.dbg.value intrinsic call before the given instruction.
1359
+ * Insert a new Value DbgRecord before the given instruction.
1360
+ *
1361
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat() is true).
1362
+ * Use LLVMSetIsNewDbgInfoFormat(LLVMBool) to convert between formats.
1363
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1364
+ *
1350
1365
* \param Builder The DIBuilder.
1351
1366
* \param Val The value of the variable.
1352
1367
* \param VarInfo The variable's debug info descriptor.
1353
1368
* \param Expr A complex location expression for the variable.
1354
1369
* \param DebugLoc Debug info location.
1355
1370
* \param Instr Instruction acting as a location for the new intrinsic.
1356
1371
*/
1357
- LLVMValueRef
1372
+ LLVMDbgRecordRef
1358
1373
LLVMDIBuilderInsertDbgValueBefore (LLVMDIBuilderRef Builder , LLVMValueRef Val ,
1359
1374
LLVMMetadataRef VarInfo , LLVMMetadataRef Expr ,
1360
1375
LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1361
1376
/**
1362
1377
* Soon to be deprecated.
1363
- * Only use in "old debug mode" (Module::IsNewDbgInfoFormat is false).
1378
+ * Only use in "old debug mode" (LLVMIsNewDbgInfoFormat() is false).
1364
1379
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1365
1380
*
1366
1381
* Insert a new llvm.dbg.value intrinsic call before the given instruction.
@@ -1376,7 +1391,7 @@ LLVMValueRef LLVMDIBuilderInsertDbgValueIntrinsicBefore(
1376
1391
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1377
1392
/**
1378
1393
* Soon to be deprecated.
1379
- * Only use in "new debug mode" (Module::IsNewDbgInfoFormat is true).
1394
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat() is true).
1380
1395
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1381
1396
*
1382
1397
* Insert a new llvm.dbg.value intrinsic call before the given instruction.
@@ -1392,22 +1407,27 @@ LLVMDbgRecordRef LLVMDIBuilderInsertDbgValueRecordBefore(
1392
1407
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMValueRef Instr );
1393
1408
1394
1409
/**
1395
- * Insert a new llvm.dbg.value intrinsic call at the end of the given basic
1396
- * block. If the basic block has a terminator instruction, the intrinsic is
1397
- * inserted before that terminator instruction.
1410
+ * Insert a new Value DbgRecord at the end of the given basic block. If the
1411
+ * basic block has a terminator instruction, the intrinsic is inserted before
1412
+ * that terminator instruction.
1413
+ *
1414
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat() is true).
1415
+ * Use LLVMSetIsNewDbgInfoFormat(LLVMBool) to convert between formats.
1416
+ * See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1417
+ *
1398
1418
* \param Builder The DIBuilder.
1399
1419
* \param Val The value of the variable.
1400
1420
* \param VarInfo The variable's debug info descriptor.
1401
1421
* \param Expr A complex location expression for the variable.
1402
1422
* \param DebugLoc Debug info location.
1403
1423
* \param Block Basic block acting as a location for the new intrinsic.
1404
1424
*/
1405
- LLVMValueRef LLVMDIBuilderInsertDbgValueAtEnd (
1425
+ LLVMDbgRecordRef LLVMDIBuilderInsertDbgValueAtEnd (
1406
1426
LLVMDIBuilderRef Builder , LLVMValueRef Val , LLVMMetadataRef VarInfo ,
1407
1427
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1408
1428
/**
1409
1429
* Soon to be deprecated.
1410
- * Only use in "old debug mode" (Module::IsNewDbgInfoFormat is false).
1430
+ * Only use in "old debug mode" (LLVMIsNewDbgInfoFormat() is false).
1411
1431
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1412
1432
*
1413
1433
* Insert a new llvm.dbg.value intrinsic call at the end of the given basic
@@ -1425,7 +1445,7 @@ LLVMValueRef LLVMDIBuilderInsertDbgValueIntrinsicAtEnd(
1425
1445
LLVMMetadataRef Expr , LLVMMetadataRef DebugLoc , LLVMBasicBlockRef Block );
1426
1446
/**
1427
1447
* Soon to be deprecated.
1428
- * Only use in "new debug mode" (Module::IsNewDbgInfoFormat is true).
1448
+ * Only use in "new debug mode" (LLVMIsNewDbgInfoFormat() is true).
1429
1449
* See https://llvm.org/docs/RemoveDIsDebugInfo.html#c-api-changes
1430
1450
*
1431
1451
* Insert a new llvm.dbg.value intrinsic call at the end of the given basic
0 commit comments