face+palm

Keep track of llvm.dbg.value intrinsics with non null values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129010 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2011-04-06 17:08:15 +00:00
parent f5a90561b0
commit f3480a8015

View File

@ -99,8 +99,8 @@ void DebugInfoProbeImpl::initialize(StringRef PName, Function &F) {
Addr = DVI->getValue();
Node = DVI->getVariable();
}
if (Addr) continue;
DbgVariables.insert(Node);
if (Addr)
DbgVariables.insert(Node);
}
}
@ -154,8 +154,8 @@ void DebugInfoProbeImpl::finalize(Function &F) {
Addr = DVI->getValue();
Node = DVI->getVariable();
}
if (Addr) continue;
DbgVariables2.insert(Node);
if (Addr)
DbgVariables2.insert(Node);
}
for (std::set<MDNode *>::iterator I = DbgVariables.begin(),