Add getDebugLocTuple to retrieve the DebugLocTuple for a given DebugLoc object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63676 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2009-02-03 22:49:58 +00:00
parent 713adbc472
commit 85e3af9b70
2 changed files with 16 additions and 5 deletions

View File

@ -313,9 +313,12 @@ public:
//
/// getOrCreateDebugLocID - Look up the DebugLocTuple index with the given
/// source file, line, and column. If none currently exists, create add a new
/// new DebugLocTuple and insert it into the DebugIdMap.
/// source file, line, and column. If none currently exists, create a new
/// DebugLocTuple, and insert it into the DebugIdMap.
unsigned getOrCreateDebugLocID(unsigned Src, unsigned Line, unsigned Col);
/// getDebugLocTuple - Get the DebugLocTuple for a given DebugLoc object.
const DebugLocTuple &getDebugLocTuple(DebugLoc DL);
};
//===--------------------------------------------------------------------===//