mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-23 11:04:49 +00:00
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:
parent
f5a90561b0
commit
f3480a8015
@ -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…
x
Reference in New Issue
Block a user