Update for LLVM API change in r221024

llvm-svn: 221073
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index b91e1b4..fd2aaf8 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -1210,7 +1210,7 @@
 
     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;