summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-12-09 21:04:35 +0000
committerManman Ren <manman.ren@gmail.com>2013-12-09 21:04:35 +0000
commit82e23c2d8aaecc50793e48505e7bb8e820801b35 (patch)
tree41b55b9b1c4488d91bf49bf2cca68fead385b27e
parentf8609ea852fc14933a332573f1d50303081af017 (diff)
downloadclang-82e23c2d8aaecc50793e48505e7bb8e820801b35.tar.gz
clang-82e23c2d8aaecc50793e48505e7bb8e820801b35.tar.bz2
clang-82e23c2d8aaecc50793e48505e7bb8e820801b35.tar.xz
Merging r196145:
------------------------------------------------------------------------ r196145 | mren | 2013-12-02 12:10:37 -0800 (Mon, 02 Dec 2013) | 5 lines 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/branches/release_34@196820 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
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();