summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-01-25 01:43:16 +0300
committerHans Wennborg <hans@chromium.org>2020-01-27 15:20:08 +0100
commit256a0eaf23b213706f9ccb6b35152dc7a1c03290 (patch)
tree5caf81e05e11e6d9de17e7704d990b6a6907fade /llvm/lib
parentf234f5c2b1ed6486fe578744fe673912ef68b945 (diff)
downloadbcm5719-llvm-256a0eaf23b213706f9ccb6b35152dc7a1c03290.tar.gz
bcm5719-llvm-256a0eaf23b213706f9ccb6b35152dc7a1c03290.zip
[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 70cbf8c71c510077baadcad305fea6f62e830b06)
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
index dffda521767..2284cd7a70b 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
@@ -85,13 +85,13 @@ cl::opt<unsigned> X86AlignBranchBoundary(
cl::opt<X86AlignBranchKind, true, cl::parser<std::string>> X86AlignBranch(
"x86-align-branch",
- cl::desc("Specify types of branches to align (plus separated list of "
- "types). The branches's types are combination of jcc, fused, "
- "jmp, call, ret, indirect."),
- cl::value_desc("jcc indicates conditional jumps, fused indicates fused "
- "conditional jumps, jmp indicates unconditional jumps, call "
- "indicates direct and indirect calls, ret indicates rets, "
- "indirect indicates indirect jumps."),
+ cl::desc(
+ "Specify types of branches to align. The branches's types are "
+ "combination of jcc, fused, jmp, call, ret, indirect. jcc indicates "
+ "conditional jumps, fused indicates fused conditional jumps, jmp "
+ "indicates unconditional jumps, call indicates direct and indirect "
+ "calls, ret indicates rets, indirect indicates indirect jumps."),
+ cl::value_desc("(plus separated list of types)"),
cl::location(X86AlignBranchKindLoc));
cl::opt<bool> X86AlignBranchWithin32BBoundaries(
OpenPOWER on IntegriCloud