]> granicus.if.org Git - clang/commitdiff
Expand comments for Debug Info Version.
authorManman Ren <manman.ren@gmail.com>
Mon, 2 Dec 2013 19:37:35 +0000 (19:37 +0000)
committerManman Ren <manman.ren@gmail.com>
Mon, 2 Dec 2013 19:37:35 +0000 (19:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196143 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.cpp

index 2acb2ec1e8f01b66f546bc533ab6144082fe0334..ae7983745ca8b7af1d0462296f8bacab6573015a 100644 (file)
@@ -260,7 +260,10 @@ void CodeGenModule::Release() {
                               CodeGenOpts.DwarfVersion);
   if (DebugInfo)
     // We support a single version in the linked module: error out when
-    // modules do not have the same version.
+    // modules do not have the same version. We are going to implement dropping
+    // debug info when the version number is not up-to-date. Once that is
+    // done, the bitcode linker is not going to see modules with different
+    // version numbers.
     getModule().addModuleFlag(llvm::Module::Error, "Debug Info Version",
                               llvm::dwarf::DEBUG_INFO_VERSION);