diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-12-09 21:02:26 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-12-09 21:02:26 +0000 |
commit | f8609ea852fc14933a332573f1d50303081af017 (patch) | |
tree | d16d878cfec43d1e96b1b499331fc6f87fbba9d1 | |
parent | 1f856a010fcaf573aa10e1791244a4cbd338d729 (diff) | |
download | clang-f8609ea852fc14933a332573f1d50303081af017.tar.gz clang-f8609ea852fc14933a332573f1d50303081af017.tar.bz2 clang-f8609ea852fc14933a332573f1d50303081af017.tar.xz |
Merging r196143:
------------------------------------------------------------------------
r196143 | mren | 2013-12-02 11:37:35 -0800 (Mon, 02 Dec 2013) | 1 line
Expand comments for Debug Info Version.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@196818 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 2acb2ec1e8..ae7983745c 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -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); |