Add a TODO and explain when we can get rid of the isMain field.
[oota-llvm.git] / include / llvm / DebugInfo.h
index 88ba994586d9c7b10233149f94c2f5ed0796bbba..a281f22ff875f5b2693c7e65aadb2158a212ec33 100644 (file)
@@ -192,7 +192,7 @@ namespace llvm {
     /// code generator accepts maximum one main compile unit per module. If a
     /// module does not contain any main compile unit then the code generator
     /// will emit multiple compile units in the output object file.
-
+    // TODO: This can be removed when we remove the legacy debug information.
     bool isMain() const                { return getUnsignedField(6) != 0; }
     bool isOptimized() const           { return getUnsignedField(7) != 0; }
     StringRef getFlags() const       { return getStringField(8);   }