svf-lib 1.0.2588 → 1.0.2590
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.
- package/SVF-linux-aarch64/include/SVF-LLVM/LLVMUtil.h +2 -0
- package/SVF-linux-aarch64/lib/libSvfCore.so.3.4 +0 -0
- package/SVF-linux-aarch64/lib/libSvfLLVM.so.3.4 +0 -0
- package/SVF-osx/include/SVF-LLVM/LLVMUtil.h +2 -0
- package/SVF-osx/lib/libSvfCore.3.4.dylib +0 -0
- package/SVF-osx/lib/libSvfLLVM.3.4.dylib +0 -0
- package/package.json +1 -1
|
@@ -137,7 +137,9 @@ static inline Type* getPtrElementType(const PointerType* pty)
|
|
|
137
137
|
assert(!pty->isOpaque() && "Opaque Pointer is used, please recompile the source adding '-Xclang -no-opaque-pointers'");
|
|
138
138
|
return pty->getNonOpaquePointerElementType();
|
|
139
139
|
#else
|
|
140
|
+
(void)pty; // Suppress warning of unused variable under release build
|
|
140
141
|
assert(false && "llvm version 17+ only support opaque pointers!");
|
|
142
|
+
return nullptr;
|
|
141
143
|
#endif
|
|
142
144
|
}
|
|
143
145
|
|
|
Binary file
|
|
Binary file
|
|
@@ -137,7 +137,9 @@ static inline Type* getPtrElementType(const PointerType* pty)
|
|
|
137
137
|
assert(!pty->isOpaque() && "Opaque Pointer is used, please recompile the source adding '-Xclang -no-opaque-pointers'");
|
|
138
138
|
return pty->getNonOpaquePointerElementType();
|
|
139
139
|
#else
|
|
140
|
+
(void)pty; // Suppress warning of unused variable under release build
|
|
140
141
|
assert(false && "llvm version 17+ only support opaque pointers!");
|
|
142
|
+
return nullptr;
|
|
141
143
|
#endif
|
|
142
144
|
}
|
|
143
145
|
|
|
Binary file
|
|
Binary file
|