[Lldb-commits] [lldb] r221073 - Update for LLVM API change in r221024
Ed Maste
emaste at freebsd.org
Sat Nov 1 17:24:31 PDT 2014
Author: emaste
Date: Sat Nov 1 19:24:22 2014
New Revision: 221073
URL: http://llvm.org/viewvc/llvm-project?rev=221073&view=rev
Log:
Update for LLVM API change in r221024
Modified:
lldb/trunk/source/Expression/IRDynamicChecks.cpp
lldb/trunk/source/Expression/IRForTarget.cpp
Modified: lldb/trunk/source/Expression/IRDynamicChecks.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRDynamicChecks.cpp?rev=221073&r1=221072&r2=221073&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRDynamicChecks.cpp (original)
+++ lldb/trunk/source/Expression/IRDynamicChecks.cpp Sat Nov 1 19:24:22 2014
@@ -514,7 +514,7 @@ private:
{
// This metadata is set by IRForTarget::MaybeHandleCall().
- MDNode *metadata = call_inst->getMetadata("lldb.call.realName");
+ MDNode *metadata = call_inst->getMDNode("lldb.call.realName");
if (!metadata)
return true;
Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=221073&r1=221072&r2=221073&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Sat Nov 1 19:24:22 2014
@@ -1210,7 +1210,7 @@ IRForTarget::RewritePersistentAlloc (llv
AllocaInst *alloc = dyn_cast<AllocaInst>(persistent_alloc);
- MDNode *alloc_md = alloc->getMetadata("clang.decl.ptr");
+ MDNode *alloc_md = alloc->getMDNode("clang.decl.ptr");
if (!alloc_md || !alloc_md->getNumOperands())
return false;
More information about the lldb-commits
mailing list