aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineDebugInfo.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-01-05 01:25:28 +0000
committerJim Laskey <jlaskey@mac.com>2006-01-05 01:25:28 +0000
commitabf6d1784b2d4bbcb7d20ab64881f77d755059f6 (patch)
tree922ed43eb59093df7e5fa40d3b814177ed364d86 /include/llvm/CodeGen/MachineDebugInfo.h
parentd90eb7fb2435e2abedb4694edc44fa45642edbe9 (diff)
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
Diffstat (limited to 'include/llvm/CodeGen/MachineDebugInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineDebugInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h
index c728418a89..039bdbc0d5 100644
--- a/include/llvm/CodeGen/MachineDebugInfo.h
+++ b/include/llvm/CodeGen/MachineDebugInfo.h
@@ -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();