diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-09-09 09:08:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-09 09:08:50 +0100 |
commit | db8cad0c8d00a691d1365e9b2962a7f2f4ff0890 (patch) | |
tree | 48f204275542f3110965931627d247ad11854bc1 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | 6b780afc612a307cd5842f2c944b62fa21348283 (diff) | |
download | llvm-db8cad0c8d00a691d1365e9b2962a7f2f4ff0890.zip llvm-db8cad0c8d00a691d1365e9b2962a7f2f4ff0890.tar.gz llvm-db8cad0c8d00a691d1365e9b2962a7f2f4ff0890.tar.bz2 |
[clang][Mangle] Inject structor type into mangled name when mangling for LLDB JIT expressions (#155485)
Part of https://github.com/llvm/llvm-project/pull/149827
This patch adds special handling for `AsmLabel`s created by LLDB. LLDB
uses `AsmLabel`s to encode information about a function declaration to
make it easier to locate function symbols when JITing C++ expressions.
For constructors/destructors LLDB doesn't know at the time of creating
the `AsmLabelAttr` which structor variant the expression evaluator will
need to call (this is decided when compiling the expression). So we make
the Clang mangler inject this information into our custom label when
we're JITting the expression.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions