[all-commits] [llvm/llvm-project] 065da3: clang driver throws error for -mabi=elfv2 or elfv2
Kishan Parmar via All-commits
all-commits at lists.llvm.org
Sat Jul 29 03:44:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 065da3574b4fe9d4ee6283de2c82b8ce1c08af08
https://github.com/llvm/llvm-project/commit/065da3574b4fe9d4ee6283de2c82b8ce1c08af08
Author: Kishan Parmar <kparmar2101 at gmail.com>
Date: 2023-07-29 (Sat, 29 Jul 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/ppc-abi.c
Log Message:
-----------
clang driver throws error for -mabi=elfv2 or elfv2
After clang release/16.x there is a regression that -mabi=elfv1
or -mabi=elfv2 are being unused and throws warning. But clang-trunk
throws error for -mabi=elfv2 or elfv1. Intent of this patch to accept
elfv1 or elfv2 for -mabi.
Reviewed By : nemanjai
Differential Revision: https://reviews.llvm.org/D156351
More information about the All-commits
mailing list