[PATCH] D59127: [CMake] Support stripping and linking output to .build-id directory

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 13:29:27 PST 2019


smeenai added inline comments.


================
Comment at: llvm/runtimes/CMakeLists.txt:455
                              TOOLCHAIN_TOOLS clang lld llvm-ar llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip
+                             USE_STRIP ${CMAKE_CURRENT_BINARY_DIR}/llvm-strip-link
                              EXTRA_TARGETS ${${name}_extra_targets}
----------------
phosek wrote:
> We should probably only enable this for ELF targets since that's the only one that currently supports the `.build-id` scheme.
Yup.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59127/new/

https://reviews.llvm.org/D59127





More information about the llvm-commits mailing list