diff options
-rw-r--r-- | lldb/source/Expression/IRDynamicChecks.cpp | 2 | ||||
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRDynamicChecks.cpp b/lldb/source/Expression/IRDynamicChecks.cpp index 6ab51ce9b7f..aa5d28bb8aa 100644 --- a/lldb/source/Expression/IRDynamicChecks.cpp +++ b/lldb/source/Expression/IRDynamicChecks.cpp @@ -514,7 +514,7 @@ private: { // This metadata is set by IRForTarget::MaybeHandleCall(). - MDNode *metadata = call_inst->getMDNode("lldb.call.realName"); + MDNode *metadata = call_inst->getMetadata("lldb.call.realName"); if (!metadata) return true; diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index 5a2f6e83837..bb2b6a351e6 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -1209,7 +1209,7 @@ IRForTarget::RewritePersistentAlloc (llvm::Instruction *persistent_alloc) AllocaInst *alloc = dyn_cast<AllocaInst>(persistent_alloc); - MDNode *alloc_md = alloc->getMDNode("clang.decl.ptr"); + MDNode *alloc_md = alloc->getMetadata("clang.decl.ptr"); if (!alloc_md || !alloc_md->getNumOperands()) return false; |