svf-lib 1.0.1021 → 1.0.1024

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.
@@ -25,6 +25,7 @@
25
25
  #include <llvm/Support/SourceMgr.h>
26
26
 
27
27
  typedef llvm::LLVMContext LLVMContext;
28
+ typedef llvm::GlobalObject GlobalObject;
28
29
  typedef llvm::Use Use;
29
30
  typedef llvm::ModulePass ModulePass;
30
31
  typedef llvm::IRBuilder<> IRBuilder;
@@ -47,6 +48,7 @@ typedef llvm::MetadataAsValue MetadataAsValue;
47
48
  typedef llvm::StructLayout StructLayout;
48
49
  typedef llvm::ConstantStruct ConstantStruct;
49
50
  typedef llvm::MemoryLocation MemoryLocation;
51
+ typedef llvm::DataLayout DataLayout;
50
52
 
51
53
  // LLVM Aliases and constants
52
54
  typedef llvm::ConstantAggregate ConstantAggregate;
@@ -91,6 +93,9 @@ typedef llvm::UnaryOperator UnaryOperator;
91
93
  typedef llvm::UndefValue UndefValue;
92
94
 
93
95
  // LLVM Debug Information
96
+ typedef llvm::DIType DIType;
97
+ typedef llvm::DICompositeType DICompositeType;
98
+ typedef llvm::DIDerivedType DIDerivedType;
94
99
  typedef llvm::DebugInfoFinder DebugInfoFinder;
95
100
  typedef llvm::DISubroutineType DISubroutineType;
96
101
  typedef llvm::DIBasicType DIBasicType;
@@ -98,6 +103,7 @@ typedef llvm::DISubrange DISubrange;
98
103
  typedef llvm::DINode DINode;
99
104
  typedef llvm::DINodeArray DINodeArray;
100
105
  typedef llvm::DITypeRefArray DITypeRefArray;
106
+ namespace dwarf = llvm::dwarf;
101
107
 
102
108
  // Iterators.
103
109
  typedef llvm::inst_iterator inst_iterator;
@@ -119,5 +125,4 @@ typedef llvm::VectorType VectorType;
119
125
  typedef llvm::FunctionCallee FunctionCallee;
120
126
  #endif
121
127
 
122
-
123
128
  #endif // SVF_FE_BASIC_TYPES_H
@@ -68,7 +68,6 @@ typedef llvm::BasicBlock BasicBlock;
68
68
  typedef llvm::Value Value;
69
69
  typedef llvm::Instruction Instruction;
70
70
  typedef llvm::CallBase CallBase;
71
- typedef llvm::GlobalObject GlobalObject;
72
71
  typedef llvm::GlobalValue GlobalValue;
73
72
  typedef llvm::GlobalVariable GlobalVariable;
74
73
  typedef llvm::Module Module;
@@ -86,9 +85,6 @@ typedef llvm::ArrayType ArrayType;
86
85
  typedef llvm::PointerType PointerType;
87
86
  typedef llvm::FunctionType FunctionType;
88
87
 
89
- /// LLVM data layout
90
- typedef llvm::DataLayout DataLayout;
91
-
92
88
  /// LLVM Aliases and constants
93
89
  typedef llvm::Argument Argument;
94
90
  typedef llvm::Constant Constant;
@@ -122,12 +118,8 @@ typedef llvm::succ_const_iterator succ_const_iterator;
122
118
  typedef llvm::GraphPrinter GraphPrinter;
123
119
  typedef llvm::IntegerType IntegerType;
124
120
 
125
- /// LLVM debug information
126
- typedef llvm::DIType DIType;
127
- typedef llvm::DICompositeType DICompositeType;
128
- typedef llvm::DIDerivedType DIDerivedType;
121
+ // LLVM Debug Information
129
122
  typedef llvm::DISubprogram DISubprogram;
130
- namespace dwarf = llvm::dwarf;
131
123
 
132
124
  class SVFFunction : public SVFValue
133
125
  {
Binary file
@@ -406,7 +406,6 @@ public:
406
406
  //@{
407
407
  /// Get a base pointer node given a field pointer
408
408
  NodeID getBaseValVar(NodeID nodeId);
409
- LocationSet getLocationSetFromBaseNode(NodeID nodeId);
410
409
  inline NodeID getBaseObjVar(NodeID id) const
411
410
  {
412
411
  return getBaseObj(id)->getId();
@@ -25,6 +25,7 @@
25
25
  #include <llvm/Support/SourceMgr.h>
26
26
 
27
27
  typedef llvm::LLVMContext LLVMContext;
28
+ typedef llvm::GlobalObject GlobalObject;
28
29
  typedef llvm::Use Use;
29
30
  typedef llvm::ModulePass ModulePass;
30
31
  typedef llvm::IRBuilder<> IRBuilder;
@@ -47,6 +48,7 @@ typedef llvm::MetadataAsValue MetadataAsValue;
47
48
  typedef llvm::StructLayout StructLayout;
48
49
  typedef llvm::ConstantStruct ConstantStruct;
49
50
  typedef llvm::MemoryLocation MemoryLocation;
51
+ typedef llvm::DataLayout DataLayout;
50
52
 
51
53
  // LLVM Aliases and constants
52
54
  typedef llvm::ConstantAggregate ConstantAggregate;
@@ -91,6 +93,9 @@ typedef llvm::UnaryOperator UnaryOperator;
91
93
  typedef llvm::UndefValue UndefValue;
92
94
 
93
95
  // LLVM Debug Information
96
+ typedef llvm::DIType DIType;
97
+ typedef llvm::DICompositeType DICompositeType;
98
+ typedef llvm::DIDerivedType DIDerivedType;
94
99
  typedef llvm::DebugInfoFinder DebugInfoFinder;
95
100
  typedef llvm::DISubroutineType DISubroutineType;
96
101
  typedef llvm::DIBasicType DIBasicType;
@@ -98,6 +103,7 @@ typedef llvm::DISubrange DISubrange;
98
103
  typedef llvm::DINode DINode;
99
104
  typedef llvm::DINodeArray DINodeArray;
100
105
  typedef llvm::DITypeRefArray DITypeRefArray;
106
+ namespace dwarf = llvm::dwarf;
101
107
 
102
108
  // Iterators.
103
109
  typedef llvm::inst_iterator inst_iterator;
@@ -119,5 +125,4 @@ typedef llvm::VectorType VectorType;
119
125
  typedef llvm::FunctionCallee FunctionCallee;
120
126
  #endif
121
127
 
122
-
123
128
  #endif // SVF_FE_BASIC_TYPES_H
@@ -409,6 +409,7 @@ protected:
409
409
  }
410
410
  //@}
411
411
 
412
+ LocationSet getLocationSetFromBaseNode(NodeID nodeId);
412
413
  };
413
414
 
414
415
  } // End namespace SVF
@@ -68,7 +68,6 @@ typedef llvm::BasicBlock BasicBlock;
68
68
  typedef llvm::Value Value;
69
69
  typedef llvm::Instruction Instruction;
70
70
  typedef llvm::CallBase CallBase;
71
- typedef llvm::GlobalObject GlobalObject;
72
71
  typedef llvm::GlobalValue GlobalValue;
73
72
  typedef llvm::GlobalVariable GlobalVariable;
74
73
  typedef llvm::Module Module;
@@ -86,9 +85,6 @@ typedef llvm::ArrayType ArrayType;
86
85
  typedef llvm::PointerType PointerType;
87
86
  typedef llvm::FunctionType FunctionType;
88
87
 
89
- /// LLVM data layout
90
- typedef llvm::DataLayout DataLayout;
91
-
92
88
  /// LLVM Aliases and constants
93
89
  typedef llvm::Argument Argument;
94
90
  typedef llvm::Constant Constant;
@@ -122,12 +118,8 @@ typedef llvm::succ_const_iterator succ_const_iterator;
122
118
  typedef llvm::GraphPrinter GraphPrinter;
123
119
  typedef llvm::IntegerType IntegerType;
124
120
 
125
- /// LLVM debug information
126
- typedef llvm::DIType DIType;
127
- typedef llvm::DICompositeType DICompositeType;
128
- typedef llvm::DIDerivedType DIDerivedType;
121
+ // LLVM Debug Information
129
122
  typedef llvm::DISubprogram DISubprogram;
130
- namespace dwarf = llvm::dwarf;
131
123
 
132
124
  class SVFFunction : public SVFValue
133
125
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1021",
3
+ "version": "1.0.1024",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {