aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineDebugInfo.h
diff options
context:
space:
mode:
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();