[llvm] [llvm-cxxfilt] Add --quote option to quote demangled function names (PR #111871)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 00:52:15 PDT 2024


================
@@ -27,4 +28,5 @@ def : F<"_", "Alias for --strip-underscore">, Alias<strip_underscore>;
 def : F<"h", "Alias for --help">, Alias<help>;
 def : F<"n", "Alias for --no-strip-underscore">, Alias<no_strip_underscore>;
 def : F<"p", "Alias for --no-params">, Alias<no_params>;
+def : F<"q", "Alias for --quote">, Alias<quote>;
----------------
jh7370 wrote:

Please don't add single-character aliases for options that don't exist in the GNU version of the tool (`c++filt`), as it becomes a problem if they add their own -q option (we aim for compatibility with the GNU binutils). That is unless you are proposing to the binutils list to add it too...

https://github.com/llvm/llvm-project/pull/111871


More information about the llvm-commits mailing list