mstorsjo added inline comments.
================ Comment at: clang/lib/CodeGen/CGExpr.cpp:5020 + std::string AsmName; + if (auto *A = FD->getAttr<AsmLabelAttr>()) { + StringRef UserLabelPrefix = ---------------- rnk wrote: > I think you can call CGM.getMangledName, but I might be wrong. It's worth > doing if straightforward. Thanks, that seems to work just great, and simplifies things nicely! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137073/new/ https://reviews.llvm.org/D137073 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits