unisan
unisan copied to clipboard
class cast error when compile the project in LLVM-3.7.1
Hi: /root/unisan-master/analysis/src/lib/SAStructs.cc:342:9: error: invalid operands to binary expression ('BasicBlock::iterator' (aka 'ilist_iteratorllvm::Instruction') and 'llvm::Value *') if (I == UN->U) {
/root/unisan-master/analysis/src/lib/SAStructs.cc:358:14: error: invalid operands to binary expression ('BasicBlock::iterator' (aka 'ilist_iteratorllvm::Instruction') and 'llvm::Value *') else if (I == (*it)->U) {
2 errors generated.
Have you solved this problem? I compile the project with LLVM-3.7.1 correctly. But I compile the project with LLVM-8 with this error. I didn't find the solution yet. Could you share your solution?