[PATCH] D78565: [clang][doc] Clang ARM CPU command line argument reference

Peter Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 21 08:04:22 PDT 2020


psmith added a comment.

One question I can't answer and I think would need wider review, is whether this is type of material (common options for specific CPUs) is suited for the Clang Documentation or whether it would be better hosted by Arm itself, for example on developer.arm.com? I think that a more reference like Arm CPU options like https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html would work better in the Clang documentation.

I think the material is useful, especially for people new to these CPUs.



================
Comment at: clang/docs/ClangARMCPUsCLI.rst:27
+
+.. option:: --target=arm-arm-none-eabi -mcpu=cortex-m33 -mfpu=fp-armv8-sp-d16 -mfloat-abi=hard -mthumb
+
----------------
I think you mean arm-arm-none-eabi for an upstream triple selecting the bare-metal driver?


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

https://reviews.llvm.org/D78565





More information about the cfe-commits mailing list