Do not lose debug info of an inlined function argument even if the argument is only used through GEPs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2011-02-17 23:33:27 +00:00
parent 6ef6ceda68
commit a4defc00eb
6 changed files with 96 additions and 17 deletions

View File

@@ -100,10 +100,6 @@ public:
return DbgValMap[Node];
}
void removeSDDbgValues(const SDNode *Node) {
DbgValMap.erase(Node);
}
typedef SmallVector<SDDbgValue*,32>::iterator DbgIterator;
DbgIterator DbgBegin() { return DbgValues.begin(); }
DbgIterator DbgEnd() { return DbgValues.end(); }