aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide/llvm-objdump.rst
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2021-06-28 14:23:22 +0700
committerIgor Kudrin <ikudrin@accesssoftek.com>2021-06-28 14:25:21 +0700
commitc2e6bcb494c12b138283272e2e0932e13627898e (patch)
tree3e61b6fef004ea84e07935cb4901dc0b90373d0d /llvm/docs/CommandGuide/llvm-objdump.rst
parentabe0fa43523502c549ff9394d28f9f29f5be0a3d (diff)
downloadllvm-c2e6bcb494c12b138283272e2e0932e13627898e.zip
llvm-c2e6bcb494c12b138283272e2e0932e13627898e.tar.gz
llvm-c2e6bcb494c12b138283272e2e0932e13627898e.tar.bz2
[llvm-objdump] Prevent variable locations to overlap short comments
For now, the source variable locations are printed at about the same space as the comments for disassembled code, which can make some ranges for variables disappear if a line contains comments, for example: ┠─ bar = W1 0: add x0, x2, #2, lsl #12 // =8192┃ 4: add z31.d, z31.d, #65280 // =0xff00 8: nop ┻ The patch shifts the report a bit to allow printing comments up to approximately 16 characters without interferences. Differential Revision: https://reviews.llvm.org/D104700
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-objdump.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-objdump.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objdump.rst b/llvm/docs/CommandGuide/llvm-objdump.rst
index 860d843..28ac7e4 100644
--- a/llvm/docs/CommandGuide/llvm-objdump.rst
+++ b/llvm/docs/CommandGuide/llvm-objdump.rst
@@ -132,7 +132,7 @@ OPTIONS
.. option:: --debug-vars-indent=<width>
Distance to indent the source-level variable display, relative to the start
- of the disassembly. Defaults to 40 characters.
+ of the disassembly. Defaults to 52 characters.
.. option:: -j, --section=<section1[,section2,...]>