Added initial support for DEBUG_LABEL allowing debug specific labels to be

inserted in the code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-01-05 01:25:28 +00:00
parent d90eb7fb24
commit abf6d1784b
16 changed files with 98 additions and 52 deletions

View File

@ -52,6 +52,13 @@ public:
///
unsigned getNextUniqueID() { return UniqueID++; }
/// RecordLabel - Records location information and associates it with a
/// debug label. Returns unique label id.
unsigned RecordLabel(unsigned Line, unsigned Col, unsigned SrcFile) {
// FIXME - actually record.
return getNextUniqueID();
}
bool doInitialization();
bool doFinalization();