aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BasicConstraintManager.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-11-10 05:00:06 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-11-10 05:00:06 +0000
commit7d94e269d87fd5ae53d9b1c43578c70c184db2d3 (patch)
tree577cc9e6c4ccdbe937e8c030a210c79cf39202c7 /lib/Analysis/BasicConstraintManager.cpp
parent8341be7ac9e735872fe831d9a1ae5a6154dcc015 (diff)
Print integer value instead of raw pointer. This is a hack to be fixed by migrating the output in analyzer to llvm::raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicConstraintManager.cpp')
-rw-r--r--lib/Analysis/BasicConstraintManager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/BasicConstraintManager.cpp b/lib/Analysis/BasicConstraintManager.cpp
index ea13ea30f2..b09d9de446 100644
--- a/lib/Analysis/BasicConstraintManager.cpp
+++ b/lib/Analysis/BasicConstraintManager.cpp
@@ -258,8 +258,6 @@ BasicConstraintManager::AssumeSymInt(const GRState* St, bool Assumption,
} // end switch
}
-
-
const GRState*
BasicConstraintManager::AssumeSymNE(const GRState* St, SymbolID sym,
const llvm::APSInt& V, bool& isFeasible) {
@@ -481,7 +479,7 @@ void BasicConstraintManager::print(const GRState* St, std::ostream& Out,
if (isFirst) isFirst = false;
else Out << ", ";
- Out << *J;
+ Out << (*J)->getSExtValue(); // Hack: should print to raw_ostream.
}
}
}