[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-24 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor closed https://github.com/llvm/llvm-project/pull/137094 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-24 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/137094 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-24 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- clang/lib/CIR/CodeGen/CIRGenCXXABI.h clang/include/

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-24 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor updated https://github.com/llvm/llvm-project/pull/137094 >From 8268f7f56d522af6d6f4d1becc8c12b4c049b235 Mon Sep 17 00:00:00 2001 From: Andy Kaylor Date: Wed, 23 Apr 2025 17:10:05 -0700 Subject: [PATCH 1/3] [CIR] Upstream support for name mangling We have been usin

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-24 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor updated https://github.com/llvm/llvm-project/pull/137094 >From 8268f7f56d522af6d6f4d1becc8c12b4c049b235 Mon Sep 17 00:00:00 2001 From: Andy Kaylor Date: Wed, 23 Apr 2025 17:10:05 -0700 Subject: [PATCH 1/2] [CIR] Upstream support for name mangling We have been usin

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-24 Thread Andy Kaylor via cfe-commits
@@ -639,13 +674,82 @@ cir::FuncOp CIRGenModule::getAddrOfFunction(clang::GlobalDecl gd, funcType = convertType(fd->getType()); } - assert(!cir::MissingFeatures::mangledNames()); - cir::FuncOp func = getOrCreateCIRFunction( - cast(gd.getDecl())->getIdentifier()->g

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-23 Thread Erich Keane via cfe-commits
https://github.com/erichkeane edited https://github.com/llvm/llvm-project/pull/137094 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-23 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. Seems alright so far.Though if we're going to add the CUDA global, we should have a test for it. https://github.com/llvm/llvm-project/pull/137094 ___ cfe-commits mailing list cfe-commits@li

[clang] [CIR] Upstream support for name mangling (PR #137094)

2025-04-23 Thread Erich Keane via cfe-commits
@@ -639,13 +674,82 @@ cir::FuncOp CIRGenModule::getAddrOfFunction(clang::GlobalDecl gd, funcType = convertType(fd->getType()); } - assert(!cir::MissingFeatures::mangledNames()); - cir::FuncOp func = getOrCreateCIRFunction( - cast(gd.getDecl())->getIdentifier()->g