[all-commits] [llvm/llvm-project] 509d05: [Driver] Warn about -mios-version-min instead of e...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Thu Jul 13 06:46:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 509d051606e837d1b8291743cd1683cf8c582afc
https://github.com/llvm/llvm-project/commit/509d051606e837d1b8291743cd1683cf8c582afc
Author: Akira Hatanaka <ahatanaka at apple.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/Darwin.h
M clang/test/Driver/macho-embedded.c
Log Message:
-----------
[Driver] Warn about -mios-version-min instead of erroring out when
targeting MachO embedded architectures
Sometimes users pass this option when targeting embedded architectures
like armv7m on non-darwin platforms.
Emit a warning instead of erroring out, which restores the behavior
prior to 34d7acd444b88342fc93fca202608c1e16fa5946.
More information about the All-commits
mailing list