diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-12-02 19:37:35 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-12-02 19:37:35 +0000 |
commit | ba2fa8b68fc4c0b623fd0512f7d6c30614b27330 (patch) | |
tree | ac247cace3c90801d5fbc8fb0883db1723309ac8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 93b5cc6db8928ce61f6d320a3a3ca7c8bc7f3240 (diff) | |
download | bcm5719-llvm-ba2fa8b68fc4c0b623fd0512f7d6c30614b27330.tar.gz bcm5719-llvm-ba2fa8b68fc4c0b623fd0512f7d6c30614b27330.zip |
Expand comments for Debug Info Version.
llvm-svn: 196143
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 2acb2ec1e8f..ae7983745ca 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/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); |