[llvm] [llvm-cxxfilt] Add --quote option to quote demangled function names (PR #111871)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 00:12:27 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)
----------------
jh7370 wrote:
> I am unfamiliar with the "import thunk for". Is this something we expect to show up in LLVM or MLIR dialec assembly filet?
I don't know, but possibly? I don't think it really matters where it can appear though, since its behaviour can be impacted by the new option (see the code around line 102 in llvm-cxxfilt.cpp in this PR, where you've modified it - in particular, I'm interested in testing the behaviour of `Prefix` in combination with the quoting).
https://github.com/llvm/llvm-project/pull/111871
More information about the llvm-commits
mailing list