[all-commits] [llvm/llvm-project] a80972: [lldb][NFCI] Change logic to find clang resource d...

Alex via All-commits all-commits at lists.llvm.org
Tue Jul 25 15:53:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a809720102fae8d1b5a7073f99f9dae9395c5f41
      https://github.com/llvm/llvm-project/commit/a809720102fae8d1b5a7073f99f9dae9395c5f41
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M lldb/cmake/modules/LLDBConfig.cmake
    M lldb/cmake/modules/LLDBStandalone.cmake

  Log Message:
  -----------
  [lldb][NFCI] Change logic to find clang resource dir in standalone builds

As of 0beffb854209a41f31beb18f9631258349a99299 there is a CMake
function to actually calculate the relative path to the clang resource
directory. Currently we have some bespoke logic that looks in a few
places, but with this new function we should be able to eliminate some
complexity here.

Also, I moved the functionality from LLDBConfig to LLDBStandalone since
it is only used in standalone builds.

Differential Revision: https://reviews.llvm.org/D156270




More information about the All-commits mailing list