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

Suggested by Eric.
Paired commit with r196144.

llvm-svn: 196145
This commit is contained in:
Manman Ren 2013-12-02 20:10:37 +00:00
parent 433ad5bc87
commit 61fd59421a
1 changed files with 1 additions and 1 deletions

View File

@ -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();