summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-01-13 12:31:28 +0100
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>2020-01-15 11:41:09 +0100
commita3ebc40644d7e93841d1f8c8994f1f22023960ad (patch)
tree2df1d01a0e5bf166d99ff80a52a521041d5b614d /llvm/docs
parent109e4d12edda07bdec139de36d9fdb6f73399f92 (diff)
downloadbcm5719-llvm-a3ebc40644d7e93841d1f8c8994f1f22023960ad.tar.gz
bcm5719-llvm-a3ebc40644d7e93841d1f8c8994f1f22023960ad.zip
[llvm-locstats][NFC] Support OOP concept
Making these changes, the code becomes more robust and easier for adding the new features. -Introduce the LocationStats class representing the statistics -Add the pretty_print() method in the LocationStats class -Add additional '-' for the program options -Add the verify_program_inputs() function -Add the parse_locstats() function -Rename 'results' => 'opts' -Add more comments Differential Revision: https://reviews.llvm.org/D71868
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CommandGuide/llvm-locstats.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/docs/CommandGuide/llvm-locstats.rst b/llvm/docs/CommandGuide/llvm-locstats.rst
index 1d05c0cf82b..8fce21df5a9 100644
--- a/llvm/docs/CommandGuide/llvm-locstats.rst
+++ b/llvm/docs/CommandGuide/llvm-locstats.rst
@@ -25,18 +25,18 @@ covered.
OPTIONS
-------
-.. option:: -only-variables
+.. option:: --only-variables
- Calculate the location statistics only for local variables.
+ calculate the location statistics only for local variables
-.. option:: -only-formal-parameters
+.. option:: --only-formal-parameters
- Calculate the location statistics only for formal parameters.
+ calculate the location statistics only for formal parameters
-.. option:: -ignore-debug-entry-values
+.. option:: --ignore-debug-entry-values
- Ignore the location statistics on locations containing the
- debug entry values DWARF operation.
+ ignore the location statistics on locations containing the
+ debug entry values DWARF operation
EXIT STATUS
-----------
OpenPOWER on IntegriCloud