Add a TODO and explain when we can get rid of the isMain field.
[oota-llvm.git] / lib / IR / DIBuilder.cpp
index 16632a1b97587016c15df8fd564cad717584dd4d..3b691194b400440d709bbf5b5edaf0565cea8ba7 100644 (file)
@@ -98,7 +98,7 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename,
     MDString::get(VMContext, Filename),
     MDString::get(VMContext, Directory),
     MDString::get(VMContext, Producer),
-    // Deprecate isMain field.
+    // isMain field can be removed when we remove the legacy debug info.
     ConstantInt::get(Type::getInt1Ty(VMContext), true), // isMain
     ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized),
     MDString::get(VMContext, Flags),