[Lldb-commits] [lldb] r221378 - Fix LLDB build as a result of upstream LLVM changes.
Zachary Turner
zturner at google.com
Wed Nov 5 10:37:53 PST 2014
Author: zturner
Date: Wed Nov 5 12:37:53 2014
New Revision: 221378
URL: http://llvm.org/viewvc/llvm-project?rev=221378&view=rev
Log:
Fix LLDB build as a result of upstream LLVM changes.
Modified:
lldb/trunk/source/Expression/IRForTarget.cpp
Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=221378&r1=221377&r2=221378&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Wed Nov 5 12:37:53 2014
@@ -403,8 +403,7 @@ IRForTarget::DeclForGlobal (const Global
node_index < num_nodes;
++node_index)
{
- MDNode *metadata_node = named_metadata->getOperand(node_index);
-
+ llvm::MDNode *metadata_node = dyn_cast<llvm::MDNode>(named_metadata->getOperand(node_index));
if (!metadata_node)
return NULL;
More information about the lldb-commits
mailing list