svf-lib 1.0.1373 → 1.0.1374

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -412,27 +412,25 @@ template <> struct Hash<NodePair>
412
412
  }
413
413
  };
414
414
 
415
- #ifndef DEBUG_WITH_TYPE
416
- # ifndef NDBUG
415
+ #if !defined NDBUG && defined USE_SVF_DBOUT
417
416
  // TODO: This comes from the following link
418
417
  // https://github.com/llvm/llvm-project/blob/75e33f71c2dae584b13a7d1186ae0a038ba98838/llvm/include/llvm/Support/Debug.h#L64
419
418
  // The original LLVM implementation makes use of type. But we can get that info,
420
419
  // so we can't simulate the full behaviour for now.
421
- # define DEBUG_WITH_TYPE(TYPE, X) \
422
- do \
423
- { \
424
- X; \
425
- } while (false)
426
- # else
427
- # define DEBUG_WITH_TYPE(TYPE, X) \
428
- do \
429
- { \
430
- } while (false)
431
- # endif
420
+ # define SVF_DEBUG_WITH_TYPE(TYPE, X) \
421
+ do \
422
+ { \
423
+ X; \
424
+ } while (false)
425
+ #else
426
+ # define SVF_DEBUG_WITH_TYPE(TYPE, X) \
427
+ do \
428
+ { \
429
+ } while (false)
432
430
  #endif
433
431
 
434
432
  /// LLVM debug macros, define type of your DEBUG model of each pass
435
- #define DBOUT(TYPE, X) DEBUG_WITH_TYPE(TYPE, X)
433
+ #define DBOUT(TYPE, X) SVF_DEBUG_WITH_TYPE(TYPE, X)
436
434
  #define DOSTAT(X) X
437
435
  #define DOTIMESTAT(X) X
438
436
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1373",
3
+ "version": "1.0.1374",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {