[all-commits] [llvm/llvm-project] dc2218: [darwin] build and link with a separate compiler-r...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Wed Jul 29 15:34:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: dc22182d1f7489239388f7bdd04170573c0652a3
      https://github.com/llvm/llvm-project/commit/dc22182d1f7489239388f7bdd04170573c0652a3
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    A clang/test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.iossim.a
    M clang/test/Driver/darwin-ld.c
    M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake

  Log Message:
  -----------
  [darwin] build and link with a separate compiler-rt builtins library
for device simulators

This change separates out the iOS/tvOS/watchOS simulator slices from the "libclang_rt.<os>.a"
fat archive, by moving them out to their own "libclang_rt.<os>sim.a" static archive.
This allows us to build and to link with an arm64 device simulator slice for the simulators running
on Apple Silicons, and to distribute it in one archive alongside the Intel simulator slices.

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




More information about the All-commits mailing list