[clang] [lld] [llvm] [llvm][lld][clang] Delay initializing TargetOptions in LTO builds until a Triple is available (PR #179509)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 12 06:08:12 PST 2026
================
@@ -2366,7 +2378,8 @@ class OutOfProcessThinBackend : public CGThinBackend {
const FunctionImporter::ImportMapTy &ImportList,
const FunctionImporter::ExportSetTy &ExportList,
const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> &ResolvedODR,
- MapVector<StringRef, BitcodeModule> &ModuleMap) override {
+ MapVector<StringRef, BitcodeModule> &ModuleMap,
+ class Triple TheTriple) override {
----------------
nikic wrote:
```suggestion
Triple TheTriple) override {
```
Or is this needed for some name conflict resolution reason?
https://github.com/llvm/llvm-project/pull/179509
More information about the cfe-commits
mailing list