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:
parent
71cc0a3215
commit
5799b28555
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user