[clang] [clang][modules] Reset codegen options. (PR #74006)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 15:56:55 PST 2023


================
@@ -4770,9 +4770,20 @@ std::string CompilerInvocation::getModuleHash() const {
 
   // When compiling with -gmodules, also hash -fdebug-prefix-map as it
   // affects the debug info in the PCM.
-  if (getCodeGenOpts().DebugTypeExtRefs)
+  if (getHeaderSearchOpts().ModuleFormat == "obj") {
----------------
jansvoboda11 wrote:

Why did this change?

https://github.com/llvm/llvm-project/pull/74006


More information about the cfe-commits mailing list