[PATCH] D153430: Warn on invalid Arm or AArch64 baremetal target triple

Peter Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 22 02:12:53 PDT 2023


peter.smith added a comment.

I can confirm that we have seen several users of the LLVM Embedded Toolchain for Arm that work on both AArch64 and Arm make this mistake as it is easy to just alter an example triple by substituting the first element.

Given that this is a warning, invalid is perhaps a bit strong.

Perhaps "Unrecognized <environment> for <arch>, did you mean <arch>-<none>-<suggested environment>"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153430



More information about the cfe-commits mailing list