summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-11-21 20:46:50 +0000
committerEric Fiselier <eric@efcs.ca>2018-11-21 20:46:50 +0000
commit1091bece23a1303b5a22975aa1fe936a789c5768 (patch)
tree1d2ef779a2b8a16cf4d5fa61370c582ed10b2412 /clang/lib/CodeGen/CGObjC.cpp
parentd0b6706c9782d07935ee713687efb4db166e2ae5 (diff)
downloadbcm5719-llvm-1091bece23a1303b5a22975aa1fe936a789c5768.tar.gz
bcm5719-llvm-1091bece23a1303b5a22975aa1fe936a789c5768.zip
[LLVM] Allow modulemap installation
Summary: Currently we can't install the modulemaps provided by LLVM, since they are not structured to support headers generated as part of the build (ex. `llvm/IR/Attributes.gen`). This patch restructures the module maps in order to support installation. Modules containing generated headers are defined in the new `module.extern.modulemap` file, and are referenced from the main `module.modulemap` using `extern module`. There are two versions of the `module.extern.modulemap` file; one used when building and another, `module.install.modulemap`, which is re-named during installation. Users can opt-into module map installation using `-DLLVM_INSTALL_MODULEMAPS=ON`. The default value is `OFF` due to llvm.org/PR31905. Reviewers: rsmith, mehdi_amini, bruno, EricWF Reviewed By: EricWF Subscribers: tschuett, chapuni, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D53510 llvm-svn: 347420
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud