improve comments.
[oota-llvm.git] / include / llvm / CodeGen / MachineFunction.h
index 73f55463e820c8cec9c57e6879d9b680e3abf8bb..ea6a384d2287243b3f93fda831d8ad36abd233bc 100644 (file)
@@ -356,6 +356,9 @@ public:
   /// setDefaultDebugLoc - Get the default debug location for the machine
   /// function.
   void setDefaultDebugLoc(DebugLoc DL) { DefaultDebugLoc = DL; }
+
+  /// getDebugLocInfo - Get the debug info location tracker.
+  DebugLocTracker &getDebugLocInfo() { return DebugLocInfo; }
 };
 
 //===--------------------------------------------------------------------===//