[llvm] 91257fd - [docs][llvm-cxxfilt] Document --no-strip-underscore option

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 03:03:47 PDT 2020


Author: James Henderson
Date: 2020-05-01T11:03:06+01:00
New Revision: 91257fdb2195acf84f9c211dac480f78cc02fb0b

URL: https://github.com/llvm/llvm-project/commit/91257fdb2195acf84f9c211dac480f78cc02fb0b
DIFF: https://github.com/llvm/llvm-project/commit/91257fdb2195acf84f9c211dac480f78cc02fb0b.diff

LOG: [docs][llvm-cxxfilt] Document --no-strip-underscore option

This option was added several months ago in commit e84468c1.

Reviewed by: MaskRay, erik.pilkington, steven_wu

Differential Revision: https://reviews.llvm.org/D79166

Added: 
    

Modified: 
    llvm/docs/CommandGuide/llvm-cxxfilt.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/llvm-cxxfilt.rst b/llvm/docs/CommandGuide/llvm-cxxfilt.rst
index a2a15d159b64..b50252aea1e1 100644
--- a/llvm/docs/CommandGuide/llvm-cxxfilt.rst
+++ b/llvm/docs/CommandGuide/llvm-cxxfilt.rst
@@ -52,10 +52,15 @@ OPTIONS
 
   Print an uncategorized summary of command line options.
 
+.. option:: --no-strip-underscore, -n
+
+  Do not strip a leading underscore. This is the default for all platforms
+  except Mach-O based hosts.
+
 .. option:: --strip-underscore, -_
 
-  Discard a single leading underscore, if present, from each input name before
-  demangling.
+  Strip a single leading underscore, if present, from each input name before
+  demangling. On by default on Mach-O based platforms.
 
 .. option:: --types, -t
 


        


More information about the llvm-commits mailing list