]> granicus.if.org Git - clang/commit
[PATCH] [RISCV] Verify the input value of -march=
authorShiva Chen <shiva0217@gmail.com>
Wed, 28 Mar 2018 08:29:50 +0000 (08:29 +0000)
committerShiva Chen <shiva0217@gmail.com>
Wed, 28 Mar 2018 08:29:50 +0000 (08:29 +0000)
commit9f49beb064eaf255813720d0a1ff2482cd02d988
tree058477a0ac566a299c84ff8dff25dedafe35f090
parentcab3257e74b0f7c1c6255c8e9f10203d70b37b14
[PATCH] [RISCV] Verify the input value of -march=

Summary:
This patch doing more check and verify the -march= string and will issue
an error if it's a invalid combination.

Reviewers: asb, apazos

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

Patch by Kito Cheng.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328690 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Arch/RISCV.cpp
test/Driver/riscv-arch.c [new file with mode: 0644]