aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2017-11-30 21:48:26 +0000
committerShoaib Meenai <smeenai@fb.com>2017-11-30 21:48:26 +0000
commita7ac2cb6fe741a18f17580110ddcee7c722e3363 (patch)
tree1c96d3bb37dece436acbaaa5bba08408b3f1af30 /llvm/lib/Object/WasmObjectFile.cpp
parentb026bf1fcc484b421d5ea735e88320f9c5ff6cfe (diff)
downloadllvm-a7ac2cb6fe741a18f17580110ddcee7c722e3363.zip
llvm-a7ac2cb6fe741a18f17580110ddcee7c722e3363.tar.gz
llvm-a7ac2cb6fe741a18f17580110ddcee7c722e3363.tar.bz2
[llvm] Add stripped installation targets
CMake's generated installation scripts support `CMAKE_INSTALL_DO_STRIP` to enable stripping the installed binaries. LLVM's build system doesn't expose this option to the `install-` targets, but it's useful in conjunction with `install-distribution`. Add a new function to create the install targets, which creates both the regular install target and a second install target that strips during installation. Change the creation of all installation targets to use this new function. Stripping doesn't make a whole lot of sense for some installation targets (e.g. the LLVM headers), but consistency doesn't hurt. I'll make other repositories (e.g. clang, compiler-rt) use this in a follow-up, and then add an `install-distribution-stripped` target to actually accomplish the end goal of creating a stripped distribution. I don't want to do that step yet because the creation of that target would depend on the presence of the `install-*-stripped` target for each distribution component, and the distribution components from other repositories will be missing that target right now. Differential Revision: https://reviews.llvm.org/D40620 llvm-svn: 319480
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions