From 73985dbb84aa9af48fa1cf0a5f379a2dd9edd230 Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Mon, 2 Dec 2013 20:10:37 +0000 Subject: [PATCH] Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h. Suggested by Eric. Paired commit with r196144. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196145 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index ae7983745c..792fbfce33 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -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(); -- 2.40.0