[all-commits] [llvm/llvm-project] ecad12: [clang][Driver] Fix crash with unsupported archite...
KOMATA Manabu via All-commits
all-commits at lists.llvm.org
Mon May 1 18:34:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ecad1210092764592ca9ee0670dd15831e54b770
https://github.com/llvm/llvm-project/commit/ecad1210092764592ca9ee0670dd15831e54b770
Author: KOMATA Manabu <k-mana at mve.biglobe.ne.jp>
Date: 2023-05-01 (Mon, 01 May 2023)
Changed paths:
M clang/lib/Driver/ToolChains/CrossWindows.cpp
M clang/lib/Driver/ToolChains/MinGW.cpp
M clang/test/Driver/unsupported-target-arch.c
Log Message:
-----------
[clang][Driver] Fix crash with unsupported architectures in MinGW and CrossWindows
MinGW and CrossWindows crash if the target is an unsupported target architecture.
Changed it to emit an error message.
Fixes https://github.com/llvm/llvm-project/issues/59545
Reviewed By: MaskRay, mstorsjo
Differential Revision: https://reviews.llvm.org/D148944
More information about the All-commits
mailing list