[PATCH] D111745: Add LLVM_EXTERNALIZE_DEBUGINFO_INSTALL, for installing debug symbols

Jo Shields via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 13 10:16:02 PDT 2021


directhex created this revision.
Herald added a subscriber: mgorny.
directhex requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This ensures debug symbols end up in the install root, alongside binaries. We treat Windows PDB files in this conditional too, as well as Mac/Linux debug symbol files, since they are effectively the same thing and are very likely to be processed identially in multi-platform scenarios.

The add_executable logic has been modified slightly to ensure the llvm_externalize_debuginfo function knows whether or not to install, despite that information not being known to the higher level add_llvm_executable or add_llvm_tool until later.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111745

Files:
  llvm/cmake/modules/AddLLVM.cmake
  llvm/cmake/modules/TableGen.cmake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111745.379454.patch
Type: text/x-patch
Size: 4945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211013/4134773f/attachment.bin>


More information about the llvm-commits mailing list