[VE] Disable -fsigaddr option for VE
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Thu, 12 Nov 2020 11:41:04 +0000 (20:41 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Thu, 12 Nov 2020 21:22:12 +0000 (06:22 +0900)
commit9c504ec06da636832d03e98581eade3d8f81eb24
tree637b7cc1e46c10561257ef779f021fd602d90790
parent04a147987a6bde657bcdd505e651b7580cc60a2e
[VE] Disable -fsigaddr option for VE

VE needs to support integrated assembler and "nas".  This "nas"
doesn't recognize ".sigaddr" pseudo mnemonics, so need to disable
it.  This patch disable it on VE by default.  Also add a regression
test for that.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91350
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/ve-toolchain.c