From 9644f84280ea5f5d6c94161860e7f1780e27f8bd Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 29 Nov 2011 02:13:21 +0000 Subject: Updates for LLVM 3.1. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@145365 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Core/Memory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Core/Memory.cpp') diff --git a/lib/Core/Memory.cpp b/lib/Core/Memory.cpp index c4228823..d54264a3 100644 --- a/lib/Core/Memory.cpp +++ b/lib/Core/Memory.cpp @@ -73,10 +73,10 @@ void MemoryObject::getAllocInfo(std::string &result) const { if (allocSite) { info << " allocated at "; if (const Instruction *i = dyn_cast(allocSite)) { - info << i->getParent()->getParent()->getNameStr() << "():"; + info << i->getParent()->getParent()->getName() << "():"; info << *i; } else if (const GlobalValue *gv = dyn_cast(allocSite)) { - info << "global:" << gv->getNameStr(); + info << "global:" << gv->getName(); } else { info << "value:" << *allocSite; } -- cgit 1.4.1