[Lldb-commits] [clang] [lldb] [llvm] [WIP][lldb][Expression] More reliable function call resolution (PR #114529)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 1 04:15:04 PDT 2024
================
@@ -140,6 +141,64 @@ void MangleContext::mangleName(GlobalDecl GD, raw_ostream &Out) {
const ASTContext &ASTContext = getASTContext();
const NamedDecl *D = cast<NamedDecl>(GD.getDecl());
+ if (const StructorMangledNamesAttr *SMA =
+ D->getAttr<StructorMangledNamesAttr>()) {
+ CXXConstructorDecl const *Ctor = dyn_cast<CXXConstructorDecl>(D);
+ CXXDestructorDecl const *Dtor = dyn_cast<CXXDestructorDecl>(D);
+ assert(Ctor || Dtor);
----------------
Michael137 wrote:
Ideally this won't look like this. But shows where I intend the mangler changes to go for the new attribute.
https://github.com/llvm/llvm-project/pull/114529
More information about the lldb-commits
mailing list