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