DebugInfo: Move line table zero-directory-index (compilation dir) handling into MCDwarf
[oota-llvm.git] / include / llvm / MC / MCContext.h
index b51a5a589f42ea279841d0448fd6b6018be492d1..afb94f07bdd97f631d11626533424de66c3c9162 100644 (file)
@@ -347,6 +347,9 @@ namespace llvm {
     void setMCLineTableSymbol(MCSymbol *Sym, unsigned ID) {
       getMCDwarfLineTable(ID).setLabel(Sym);
     }
+    void setMCLineTableCompilationDir(unsigned CUID, StringRef CompilationDir) {
+      getMCDwarfLineTable(CUID).setCompilationDir(CompilationDir);
+    }
 
     /// setCurrentDwarfLoc - saves the information from the currently parsed
     /// dwarf .loc directive and sets DwarfLocSeen.  When the next instruction