[PATCH] D156351: clang driver throws error for -mabi=elfv2 or elfv2

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 16:18:25 PDT 2023


MaskRay added a comment.

> After clang release/16.x there is a regression that -mabi=elfv1 or -mabi=elfv2 are being unused and throws warning.

Please just give the full clang command line and add a test case under `test/Driver`. FWIW: `clang --target=powerpc64le-linux-gnu -mabi=elfv1 -mabi=elfv2 -c a.c` works for me without any warning.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156351/new/

https://reviews.llvm.org/D156351



More information about the cfe-commits mailing list