diff options
author | Ronan Keryell <ronan.keryell@amd.com> | 2024-10-21 00:54:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-21 08:54:04 +0100 |
commit | d582442becf1507a243614ee7348ccbb51eade28 (patch) | |
tree | cdde9e07bc47a20f892edc92f50d4a3a4b522e18 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 923b8eea644a4d1fed0f3e20677514cf3f4e0fcc (diff) | |
download | llvm-d582442becf1507a243614ee7348ccbb51eade28.zip llvm-d582442becf1507a243614ee7348ccbb51eade28.tar.gz llvm-d582442becf1507a243614ee7348ccbb51eade28.tar.bz2 |
[llvm-cxxfilt] Add --quote option to quote demangled function names (#111871)
This is useful when looking at LLVM/MLIR assembly produced from C++
sources. For example
cir.call @_ZN3aie4tileILi1ELi4EE7programIZ4mainE3$_0EEvOT_(%2, %7) :
will be translated to
cir.call @"void aie::tile<1, 4>::program<main::$_0>(main::$_0&&)"(%2,
%7) : which can be parsed as valid MLIR by the right mlir-lsp-server.
If a symbol is already quoted, do not quote it more.
---------
Co-authored-by: James Henderson <jh7370@my.bristol.ac.uk>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions