[docs] Adjust variable formatting table

While the in-place hints on valid formats are up to date (e.g. when
choosing an invalid format expr -f nonExisting -- 42), the corresponding
online docs table is not. The formats "address", "hex float",
"instruction" and "void" are missing, and "decimal" refers to an
outdated abbreviation 'i' instead of 'd'.

Patch by: Lukas Böger

Differential revision: https://reviews.llvm.org/D63813

llvm-svn: 366364
This commit is contained in:
Jonas Devlieghere 2019-07-17 19:49:01 +00:00
parent e37750b934
commit c2cd84bcfb
1 changed files with 10 additions and 1 deletions

View File

@ -197,7 +197,7 @@ pick:
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``c-string`` | s | show this as a 0-terminated C string |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``decimal`` | i | show this as a signed integer number (this does not perform a cast, it |
| ``decimal`` | d | show this as a signed integer number (this does not perform a cast, it |
| | | simply shows the bytes as an integer with sign) |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``enumeration`` | E | show this as an enumeration, printing the |
@ -239,6 +239,15 @@ pick:
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``character array`` | a | show this as a character array |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``address`` | A | show this as an address target (symbol/file/line + offset), possibly |
| | | also the string this address is pointing to |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``hex float`` | | show this as hexadecimal floating point |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``instruction`` | i | show this as an disassembled opcode |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
| ``void`` | v | don't show anything |
+-----------------------------------------------+------------------+--------------------------------------------------------------------------+
Type Summary
------------