[all-commits] [llvm/llvm-project] 45ff63: [Driver] Also warn about -mwatchos-version-min and...

Cassie Jones via All-commits all-commits at lists.llvm.org
Mon Jul 17 13:27:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45ff63ba6112c199897b4117d54f19d28161b632
      https://github.com/llvm/llvm-project/commit/45ff63ba6112c199897b4117d54f19d28161b632
  Author: Cassie Jones <code at witchoflight.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/macho-embedded.c

  Log Message:
  -----------
  [Driver] Also warn about -mwatchos-version-min and -mtvos-version-min

Sometimes users pass this option when targeting embedded architectures like armv7m on non-darwin platforms.
This applies to watchOS and tvOS as well as iOS.

Depends on D155407

Reviewed By: MaskRay, ahatanak

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




More information about the All-commits mailing list