Print integer value instead of raw pointer. This is a hack to be fixed by migrating the output in analyzer to llvm::raw_ostream.
llvm-svn: 58965
This commit is contained in:
parent
25f0106fd9
commit
1c31dbe417
|
|
@ -258,8 +258,6 @@ BasicConstraintManager::AssumeSymInt(const GRState* St, bool Assumption,
|
||||||
} // end switch
|
} // end switch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const GRState*
|
const GRState*
|
||||||
BasicConstraintManager::AssumeSymNE(const GRState* St, SymbolID sym,
|
BasicConstraintManager::AssumeSymNE(const GRState* St, SymbolID sym,
|
||||||
const llvm::APSInt& V, bool& isFeasible) {
|
const llvm::APSInt& V, bool& isFeasible) {
|
||||||
|
|
@ -481,7 +479,7 @@ void BasicConstraintManager::print(const GRState* St, std::ostream& Out,
|
||||||
if (isFirst) isFirst = false;
|
if (isFirst) isFirst = false;
|
||||||
else Out << ", ";
|
else Out << ", ";
|
||||||
|
|
||||||
Out << *J;
|
Out << (*J)->getSExtValue(); // Hack: should print to raw_ostream.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue