Skip to content

Commit 256a0ea

Browse files
LebedevRIzmodem
authored andcommitted
[X86] Make llc --help output readable again
Long `cl::value_desc()` is added right after the flag name, before `cl::desc()` column. And thus the `cl::desc()` column, for all flags, is padded to the right, which makes the output unreadable. (cherry picked from commit 70cbf8c)
1 parent f234f5c commit 256a0ea

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ cl::opt<unsigned> X86AlignBranchBoundary(
8585

8686
cl::opt<X86AlignBranchKind, true, cl::parser<std::string>> X86AlignBranch(
8787
"x86-align-branch",
88-
cl::desc("Specify types of branches to align (plus separated list of "
89-
"types). The branches's types are combination of jcc, fused, "
90-
"jmp, call, ret, indirect."),
91-
cl::value_desc("jcc indicates conditional jumps, fused indicates fused "
92-
"conditional jumps, jmp indicates unconditional jumps, call "
93-
"indicates direct and indirect calls, ret indicates rets, "
94-
"indirect indicates indirect jumps."),
88+
cl::desc(
89+
"Specify types of branches to align. The branches's types are "
90+
"combination of jcc, fused, jmp, call, ret, indirect. jcc indicates "
91+
"conditional jumps, fused indicates fused conditional jumps, jmp "
92+
"indicates unconditional jumps, call indicates direct and indirect "
93+
"calls, ret indicates rets, indirect indicates indirect jumps."),
94+
cl::value_desc("(plus separated list of types)"),
9595
cl::location(X86AlignBranchKindLoc));
9696

9797
cl::opt<bool> X86AlignBranchWithin32BBoundaries(

0 commit comments

Comments
 (0)