r196145 - Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.

Manman Ren manman.ren at gmail.com
Mon Dec 2 12:10:37 PST 2013


Author: mren
Date: Mon Dec  2 14:10:37 2013
New Revision: 196145

URL: http://llvm.org/viewvc/llvm-project?rev=196145&view=rev
Log:
Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.

Suggested by Eric.
Paired commit with r196144.

Modified:
    cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=196145&r1=196144&r2=196145&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Mon Dec  2 14:10:37 2013
@@ -265,7 +265,7 @@ void CodeGenModule::Release() {
     // 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);
+                              llvm::DEBUG_METADATA_VERSION);
 
   SimplifyPersonality();
 





More information about the cfe-commits mailing list