diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-29 02:13:21 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-29 02:13:21 +0000 |
commit | 9644f84280ea5f5d6c94161860e7f1780e27f8bd (patch) | |
tree | 7a20d1267267176ce74f8f0f4a9b79d062ce4fc3 /lib/Core/ExecutionState.cpp | |
parent | 3c844fae79cbc71e365851e7978ee4767880f66b (diff) | |
download | klee-9644f84280ea5f5d6c94161860e7f1780e27f8bd.tar.gz |
Updates for LLVM 3.1.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@145365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Core/ExecutionState.cpp')
-rw-r--r-- | lib/Core/ExecutionState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Core/ExecutionState.cpp b/lib/Core/ExecutionState.cpp index 4362b78f..c6a2cad4 100644 --- a/lib/Core/ExecutionState.cpp +++ b/lib/Core/ExecutionState.cpp @@ -315,14 +315,14 @@ void ExecutionState::dumpStack(std::ostream &out) const { const InstructionInfo &ii = *target->info; out << "\t#" << idx++ << " " << std::setw(8) << std::setfill('0') << ii.assemblyLine - << " in " << f->getNameStr() << " ("; + << " in " << f->getName().str() << " ("; // Yawn, we could go up and print varargs if we wanted to. unsigned index = 0; for (Function::arg_iterator ai = f->arg_begin(), ae = f->arg_end(); ai != ae; ++ai) { if (ai!=f->arg_begin()) out << ", "; - out << ai->getNameStr(); + out << ai->getName().str(); // XXX should go through function ref<Expr> value = sf.locals[sf.kf->getArgRegister(index++)].value; if (isa<ConstantExpr>(value)) |