[all-commits] [llvm/llvm-project] 191972: [lldb] [debugserver] Simplify handling of arch spe...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Jan 6 00:27:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1919720fdd348ca568b235bf3f1357c198eccd15
      https://github.com/llvm/llvm-project/commit/1919720fdd348ca568b235bf3f1357c198eccd15
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M lldb/tools/debugserver/source/MacOSX/CMakeLists.txt

  Log Message:
  -----------
  [lldb] [debugserver] Simplify handling of arch specific files

There are no duplicates among the include files, and all the
source files are wrapped in architecture ifdefs, so there's no harm
in including all of them, always.

This fixes builds if TARGET_TRIPLE is set to something else than the
build architecture.

This also allows building for multiple architectures at once by
setting CMAKE_OSX_ARCHITECTURES.

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




More information about the All-commits mailing list