forked from OSchip/llvm-project
parent
93b5cc6db8
commit
ba2fa8b68f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue