unisan icon indicating copy to clipboard operation
unisan copied to clipboard

class cast error when compile the project in LLVM-3.7.1

Open willsheil opened this issue 7 years ago • 1 comments

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.

willsheil avatar Oct 31 '17 10:10 willsheil

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?

daydayup40 avatar Jan 28 '19 02:01 daydayup40