diff options
Diffstat (limited to 'lib/Core/Memory.cpp')
-rw-r--r-- | lib/Core/Memory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Core/Memory.cpp b/lib/Core/Memory.cpp index 1a929a12..2032fd53 100644 --- a/lib/Core/Memory.cpp +++ b/lib/Core/Memory.cpp @@ -72,10 +72,10 @@ void MemoryObject::getAllocInfo(std::string &result) const { if (allocSite) { info << " allocated at "; if (const Instruction *i = dyn_cast<Instruction>(allocSite)) { - info << i->getParent()->getParent()->getName() << "():"; + info << i->getParent()->getParent()->getNameStr() << "():"; info << *i; } else if (const GlobalValue *gv = dyn_cast<GlobalValue>(allocSite)) { - info << "global:" << gv->getName(); + info << "global:" << gv->getNameStr(); } else { info << "value:" << *allocSite; } |