[all-commits] [llvm/llvm-project] 86dceb: [compiler-rt] Use the correct minimum version flag...

danliew via All-commits all-commits at lists.llvm.org
Fri Feb 14 13:55:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 86dceb9bcd9fdc5c24ef51908f330ac8caecbdcf
      https://github.com/llvm/llvm-project/commit/86dceb9bcd9fdc5c24ef51908f330ac8caecbdcf
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [compiler-rt] Use the correct minimum version flag for simulators on Apple
platforms.

For the simulators this changes the following compilation flags (
used both for building the runtime and lit tests).

iOS simulator: `-miphoneos-version-min` -> `-mios-simulator-version-min`
watchOS simulator: `-mwatchos-version-min` -> `-mwatchos-simulator-version-min`
tvOS simulator: `-mtvos-version-min` -> `-mtvos-simulator-version-min`

rdar://problem/59463146


  Commit: 8337fb00e603613289096bfdce282114ab6e5a7e
      https://github.com/llvm/llvm-project/commit/8337fb00e603613289096bfdce282114ab6e5a7e
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [compiler-rt] Add `DARWIN_osx_MIN_VER_FLAG` variable to match the other Apple platforms.

rdar://problem/59463146


  Commit: f5951bdc3a2693f896712bc1d25ae4a61accce4c
      https://github.com/llvm/llvm-project/commit/f5951bdc3a2693f896712bc1d25ae4a61accce4c
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M compiler-rt/test/asan/CMakeLists.txt
    M compiler-rt/test/asan/lit.site.cfg.py.in
    M compiler-rt/test/fuzzer/CMakeLists.txt
    M compiler-rt/test/fuzzer/lit.site.cfg.py.in
    M compiler-rt/test/lit.common.configured.in
    M compiler-rt/test/tsan/CMakeLists.txt
    M compiler-rt/test/tsan/lit.site.cfg.py.in
    M compiler-rt/test/ubsan/CMakeLists.txt
    M compiler-rt/test/ubsan/lit.site.cfg.py.in

  Log Message:
  -----------
  [compiler-rt] Provide a lit config variable that defines the minimum deployment OS version flag appropriate for the configured OS.

This patch defines `config.apple_platform_min_deployment_target_flag`
in the ASan, LibFuzzer, TSan, and UBSan lit test configs.

rdar://problem/59463146


  Commit: a7018e8a2edf05370f3b4e3cdc018e1f5bc932de
      https://github.com/llvm/llvm-project/commit/a7018e8a2edf05370f3b4e3cdc018e1f5bc932de
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake

  Log Message:
  -----------
  [compiler-rt] Disable building LibFuzzer for WatchOS and the corresponding simulator.

rdar://problem/59466685


  Commit: f4141367d00dc8524626d682c8ad56a11df5c850
      https://github.com/llvm/llvm-project/commit/f4141367d00dc8524626d682c8ad56a11df5c850
  Author: Dan Liew <dan at su-root.co.uk>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M compiler-rt/test/lit.common.cfg.py

  Log Message:
  -----------
  [compiler-rt] Make various Apple lit substitutions work correctly for other Apple platforms.

This change makes the following lit substitutions expand to the correct
thing for macOS, iOS, tvOS, and watchOS.

%darwin_min_target_with_full_runtime_arc_support
%macos_min_target_10_11

rdar://problem/59463146


Compare: https://github.com/llvm/llvm-project/compare/1fe6e6fd85f7...f4141367d00d


More information about the All-commits mailing list