1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

face+palm

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

llvm-svn: 129010
This commit is contained in:
Devang Patel 2011-04-06 17:08:15 +00:00
parent 71cc0a3215
commit 5799b28555

View File

@ -99,7 +99,7 @@ void DebugInfoProbeImpl::initialize(StringRef PName, Function &F) {
Addr = DVI->getValue();
Node = DVI->getVariable();
}
if (Addr) continue;
if (Addr)
DbgVariables.insert(Node);
}
}
@ -154,7 +154,7 @@ void DebugInfoProbeImpl::finalize(Function &F) {
Addr = DVI->getValue();
Node = DVI->getVariable();
}
if (Addr) continue;
if (Addr)
DbgVariables2.insert(Node);
}