[all-commits] [llvm/llvm-project] b94f0a: [llvm][clang] Correct example in -mcpu-help text

David Spickett via All-commits all-commits at lists.llvm.org
Tue Apr 11 02:37:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b94f0a9e82ad89125830e24d91a735054c366911
      https://github.com/llvm/llvm-project/commit/b94f0a9e82ad89125830e24d91a735054c366911
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M llvm/lib/MC/MCSubtargetInfo.cpp

  Log Message:
  -----------
  [llvm][clang] Correct example in -mcpu-help text

This used to say:
For example, clang --target=aarch64-unknown-linux-gui -mcpu=cortex-a35

Which works but I think it was meant to be `-gnu` not `-gui`. From my
AArch64 Linux build:
```
$ ./bin/clang --version
clang version 17.0.0 <...>
Target: aarch64-unknown-linux-gnu
```

Originally added in af857b93df36a983a27a82455c0dea39f53da5b1.




More information about the All-commits mailing list