Skip to content

Commit b94f0a9

Browse files
committed
[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 af857b9.
1 parent 4876f43 commit b94f0a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/MC/MCSubtargetInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static void cpuHelp(ArrayRef<SubtargetSubTypeKV> CPUTable) {
142142
errs() << '\n';
143143

144144
errs() << "Use -mcpu or -mtune to specify the target's processor.\n"
145-
"For example, clang --target=aarch64-unknown-linux-gui "
145+
"For example, clang --target=aarch64-unknown-linux-gnu "
146146
"-mcpu=cortex-a35\n";
147147

148148
PrintOnce = true;

0 commit comments

Comments
 (0)