diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2022-02-23 14:15:47 +0100 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-02-23 14:46:23 +0100 |
commit | 27d9a58407c44c8bb3fe7b94ff8d3b9bea25afc4 (patch) | |
tree | 4681fdfb89ad377527539e155f52d1d7e70ae865 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2f300d34decba547dd07f5cd6034a6b2b2ca11a2 (diff) | |
download | llvm-27d9a58407c44c8bb3fe7b94ff8d3b9bea25afc4.zip llvm-27d9a58407c44c8bb3fe7b94ff8d3b9bea25afc4.tar.gz llvm-27d9a58407c44c8bb3fe7b94ff8d3b9bea25afc4.tar.bz2 |
[clang][modules] Infer framework modules in explicit builds
This patch enables inferring framework modules in explicit builds in all contexts. Until now, inferring framework modules only worked with `-fimplicit-module-maps` due to this block of code:
```
// HeaderSearch::loadFrameworkModule
case LMM_InvalidModuleMap:
// Try to infer a module map from the framework directory.
if (HSOpts->ImplicitModuleMaps)
ModMap.inferFrameworkModule(Dir, IsSystem, /*Parent=*/nullptr);
break;
```
Reviewed By: Bigcheese
Differential Revision: https://reviews.llvm.org/D113880
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions