Skip to content

Commit

Permalink
assert llvm value
Browse files Browse the repository at this point in the history
  • Loading branch information
jumormt committed Dec 22, 2023
1 parent 267eea5 commit 5034678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svf-llvm/lib/LLVMUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Type *LLVMUtil::getPointeeType(const Value *value) {
// e.g., for `%call = call ptr @_Znwm(i64 noundef 8)`, we return i64
return func->getFunctionType();

Check warning on line 282 in svf-llvm/lib/LLVMUtil.cpp

View check run for this annotation

Codecov / codecov/patch

svf-llvm/lib/LLVMUtil.cpp#L282

Added line #L282 was not covered by tests
} else {
assert(false && "Unknown llvm Type, cannot get Ptr Element Type");
assert(false && (LLVMUtil::dumpValue(value) + "Unknown llvm Type, cannot get Ptr Element Type").c_str());

Check warning on line 284 in svf-llvm/lib/LLVMUtil.cpp

View check run for this annotation

Codecov / codecov/patch

svf-llvm/lib/LLVMUtil.cpp#L284

Added line #L284 was not covered by tests
abort();
}
}
Expand Down

0 comments on commit 5034678

Please sign in to comment.