[llvm-symbolizer] Add -print-address option
[oota-llvm.git] / docs / CommandGuide / llvm-symbolizer.rst
index dfbdb3ac434a58119358d6a65effa5cc42ad556f..9d6571d5c4c2a954c6dfb7b4adcad347670d4b2c 100644 (file)
@@ -61,11 +61,14 @@ OPTIONS
 -------
 
 .. option:: -obj
+
   Path to object file to be symbolized.
 
-.. option:: -functions
+.. option:: -functions=[none|short|linkage]
 
-  Print function names as well as source file/line locations. Defaults to true.
+  Specify the way function names are printed (omit function name,
+  print short function name, or print full linkage name, respectively).
+  Defaults to ``linkage``.
 
 .. option:: -use-symbol-table
 
@@ -89,6 +92,15 @@ OPTIONS
  input (see example above). If architecture is not specified in either way,
  address will not be symbolized. Defaults to empty string.
 
+.. option:: -dsym-hint=<path/to/file.dSYM>
+
+ (Darwin-only flag). If the debug info for a binary isn't present in the default
+ location, look for the debug info at the .dSYM path provided via the
+ ``-dsym-hint`` flag. This flag can be used multiple times.
+
+.. option:: -print-address
+ Print address before the source code location. Defaults to false.
+
 EXIT STATUS
 -----------