[clang] [CodeGen] Implement post-opt linking option for builtin bitocdes (PR #69371)
Jacob Lambert via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 9 10:11:55 PST 2023
================
@@ -113,7 +120,7 @@ class EmitAssemblyHelper {
const CodeGenOptions &CodeGenOpts;
const clang::TargetOptions &TargetOpts;
const LangOptions &LangOpts;
- Module *TheModule;
+ llvm::Module *TheModule;
----------------
lamb-j wrote:
When including the new BackendConsumer.h header file to BackendUtils.cpp, we were indirectly including another header several layers deep that had defined clang::Module. Previously this file had no references to clang::Module via any includes, but with the new include we were getting an "ambiguous reference to Module" error. This was fixed by specifying which Module class we were using in this file.
I don't remember exactly which nested include referenced clang::Module, I could track down the include path again if it's helpful though.
https://github.com/llvm/llvm-project/pull/69371
More information about the cfe-commits
mailing list