[all-commits] [llvm/llvm-project] 9449f4: gn build: Add support for building LLDB on Linux.

pcc via All-commits all-commits at lists.llvm.org
Wed Sep 8 19:35:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9449f441fc9b7eff6e84b00b4c2488041fbb34f4
      https://github.com/llvm/llvm-project/commit/9449f441fc9b7eff6e84b00b4c2488041fbb34f4
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M llvm/utils/gn/secondary/BUILD.gn
    M llvm/utils/gn/secondary/lldb/include/lldb/Host/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Initialization/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/JIT/BUILD.gn
    A llvm/utils/gn/secondary/lldb/source/Plugins/Platform/Linux/BUILD.gn
    A llvm/utils/gn/secondary/lldb/source/Plugins/Process/Linux/BUILD.gn
    A llvm/utils/gn/secondary/lldb/source/Plugins/Process/POSIX/BUILD.gn
    M llvm/utils/gn/secondary/lldb/tools/driver/BUILD.gn
    M llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn

  Log Message:
  -----------
  gn build: Add support for building LLDB on Linux.

On Linux, LLDB depends on lldb-server at runtime (on Mac, the dependency on
a debug server presumably comes via the system debugserver), so I added it
to deps.

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


  Commit: 883e93cb280e672107c4fe64d2ab03a01613e0af
      https://github.com/llvm/llvm-project/commit/883e93cb280e672107c4fe64d2ab03a01613e0af
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M llvm/utils/gn/build/libs/xml/enable.gni
    M llvm/utils/gn/secondary/lldb/tools/driver/BUILD.gn
    M llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn

  Log Message:
  -----------
  gn build: Add support for building lldb-server on Android.

The cross-compiled lldb-server targets are added to the lldb deps if
Android cross compilation is enabled.

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


Compare: https://github.com/llvm/llvm-project/compare/c95a7246a38a...883e93cb280e


More information about the All-commits mailing list