[llvm] [llvm-cxxfilt] Add --quote option to quote demangled function names (PR #111871)
Ronan Keryell via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 12 04:41:05 PDT 2024
================
@@ -0,0 +1,12 @@
+// Show that llvm-cxxfilt --quote can emit quoted demangled symbols but not
+// without double-quoting in the case they are already quoted
+
+RUN: llvm-cxxfilt --quote < %s | FileCheck %s
+ cir.call @_ZN3aie4tileILi1ELi4EE7programIZ4mainE3$_0EEvOT_(%2, %7) : (!cir.ptr<!ty_aie3A3Atile3C12C_43E>, !cir.ptr<!ty_anon2E0_>) -> () loc(#loc74)
----------------
keryell wrote:
`--match-full-lines` sounds like a good idea if the tested lines are simplified as you propose.
> I don't think quotes can appear in mangled names, so I don't think we need to show the "no double-quoting" behaviour in this case.
I have added it anyway for completude.
I am unfamiliar with the "import thunk for". Is this something we expect to show up in LLVM or MLIR dialec assembly filet?
The goal is to produce a clearer self-content LLVM/MLIR file but not something which can be linked into something sensible.
https://github.com/llvm/llvm-project/pull/111871
More information about the llvm-commits
mailing list