[all-commits] [llvm/llvm-project] b1aed1: [llvm][lldb] use FindLibEdit.cmake everywhere

Tobias Ribizel via All-commits all-commits at lists.llvm.org
Thu May 12 15:59:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1aed14bfea07508e4b9d864168c1ae6b5b5c665
      https://github.com/llvm/llvm-project/commit/b1aed14bfea07508e4b9d864168c1ae6b5b5c665
  Author: Tobias Ribizel <ribizel at kit.edu>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    A cmake/Modules/FindLibEdit.cmake
    R lldb/cmake/modules/FindLibEdit.cmake
    M lldb/cmake/modules/LLDBStandalone.cmake
    M lldb/source/Core/CMakeLists.txt
    M lldb/source/Host/CMakeLists.txt
    M lldb/source/Interpreter/CMakeLists.txt
    M lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
    M llvm/cmake/config-ix.cmake
    M llvm/lib/LineEditor/CMakeLists.txt
    M llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn

  Log Message:
  -----------
  [llvm][lldb] use FindLibEdit.cmake everywhere

Currently, LLVM's LineEditor and LLDB both use libedit, but find them in different (inconsistent) ways.
This causes issues e.g. when you are using a locally installed version of libedit, which will not be used
by clang-query, but by lldb if picked up by FindLibEdit.cmake

Reviewed By: MaskRay

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




More information about the All-commits mailing list