Add a DIELocList class to handle pointers into the location list.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.h
index 315544b5dfe816b77e1ff5d729cbaa07bc3ac7bb..c74d76a06a11332434f2ba5795d01a40790cbb9b 100644 (file)
@@ -751,6 +751,9 @@ public:
   /// Returns the Dwarf Version.
   unsigned getDwarfVersion() const { return DwarfVersion; }
 
+  /// Returns the section symbol for the .debug_loc section.
+  MCSymbol *getDebugLocSym() const { return DwarfDebugLocSectionSym; }
+
   /// Find the MDNode for the given reference.
   template <typename T> T resolve(DIRef<T> Ref) const {
     return Ref.resolve(TypeIdentifierMap);